diff options
Diffstat (limited to 'lld/test/ELF/x86-64-dyn-rel-error.s')
| -rw-r--r-- | lld/test/ELF/x86-64-dyn-rel-error.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/test/ELF/x86-64-dyn-rel-error.s b/lld/test/ELF/x86-64-dyn-rel-error.s index 4968771f932..7753a4dc4ae 100644 --- a/lld/test/ELF/x86-64-dyn-rel-error.s +++ b/lld/test/ELF/x86-64-dyn-rel-error.s @@ -11,4 +11,6 @@ _start: // CHECK: relocation R_X86_64_32 cannot be used against symbol zed; recompile with -fPIC -// RUN: ld.lld --noinhibit-exec %t.o %t2.so -o %t 2>&1 | FileCheck %s +// RUN: ld.lld --noinhibit-exec %t.o %t2.so -o %t 2>&1 | FileCheck --check-prefix=WARN %s + +// WARN: symbol 'zed' has no type |

