3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: echo "{ local: *; };" > %t.list
5 # RUN: not ld.lld -dynamic-list %t.list -shared %t.o -o /dev/null 2>&1 | FileCheck %s
7 # CHECK: error: {{.*}}:1: "local:" scope not supported in --dynamic-list