3 ## Confirm both mangled and unmangled names may appear in
4 ## the --dynamic-list file.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
8 # RUN: echo '{ _Z1fv; extern "C++" { "g()"; }; };' > %t.list
9 # RUN: ld.lld -pie --dynamic-list %t.list %t.o -o %t
10 # RUN: llvm-readelf --dyn-syms %t | FileCheck %s
12 # CHECK: Symbol table '.dynsym' contains 3 entries: