diff options
Diffstat (limited to 'test/ELF/dynamic-list-locals.s')
| -rw-r--r-- | test/ELF/dynamic-list-locals.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ELF/dynamic-list-locals.s b/test/ELF/dynamic-list-locals.s new file mode 100644 index 0000000000000..36ac849f514d5 --- /dev/null +++ b/test/ELF/dynamic-list-locals.s @@ -0,0 +1,7 @@ +# REQUIRES: x86 + +# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o +# RUN: echo "{ local: *; };" > %t.list +# RUN: not ld.lld -dynamic-list %t.list -shared %t.o -o %t.so 2>&1 | FileCheck %s + +# CHECK: error: {{.*}}:1: "local:" scope not supported in --dynamic-list |
