3 # Test that we can parse multiple externs.
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
7 # RUN: echo '{ extern "C" { foo; }; extern "C++" { bar; }; };' > %t.list
8 # RUN: ld.lld --dynamic-list %t.list %t.o -shared -o %t.so
10 # RUN: echo '{ extern "C" { foo }; extern "C++" { bar }; };' > %t.list
11 # RUN: ld.lld --dynamic-list %t.list %t.o -shared -o %t.so