12 lines · plain
1# REQUIRES: x862 3# Test that we can parse multiple externs.4 5# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o6 7# RUN: echo '{ extern "C" { foo; }; extern "C++" { bar; }; };' > %t.list8# RUN: ld.lld --dynamic-list %t.list %t.o -shared -o %t.so9 10# RUN: echo '{ extern "C" { foo }; extern "C++" { bar }; };' > %t.list11# RUN: ld.lld --dynamic-list %t.list %t.o -shared -o %t.so12