diff options
Diffstat (limited to 'test/ELF/verneed-local.s')
-rw-r--r-- | test/ELF/verneed-local.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ELF/verneed-local.s b/test/ELF/verneed-local.s new file mode 100644 index 000000000000..a50f670ed7bd --- /dev/null +++ b/test/ELF/verneed-local.s @@ -0,0 +1,8 @@ +# REQUIRES: x86 +# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o +# RUN: not ld.lld %t.o %S/Inputs/verneed1.so -o %t 2>&1 | FileCheck %s + +# CHECK: undefined symbol: f3 in +.globl _start +_start: +call f3 |