diff options
Diffstat (limited to 'test/ELF/sysroot.s')
| -rw-r--r-- | test/ELF/sysroot.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ELF/sysroot.s b/test/ELF/sysroot.s index 38fd8cdde402..0b7b17260e58 100644 --- a/test/ELF/sysroot.s +++ b/test/ELF/sysroot.s @@ -9,7 +9,7 @@ // Should not link because of undefined symbol _bar // RUN: not ld.lld -o %t/r %t/m.o 2>&1 \ // RUN: | FileCheck --check-prefix=UNDEFINED %s -// UNDEFINED: undefined symbol: _bar +// UNDEFINED: error: {{.*}}:(.text+0x1): undefined symbol '_bar' // We need to be sure that there is no suitable library in the /lib directory // RUN: not ld.lld -o %t/r %t/m.o -L/lib -l:libls.a 2>&1 \ @@ -34,3 +34,4 @@ .globl _start,_bar _start: + call _bar |
