3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: echo "FOO { global: extern \"C++\" { \"bar\"; }; };" > %t.script
5 # RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so
6 # RUN: llvm-readobj -V %t.so | FileCheck %s
8 # CHECK: VersionSymbols [
10 # CHECK-NEXT: Version: 0
13 # CHECK-NEXT: Symbol {
14 # CHECK-NEXT: Version: 2
15 # CHECK-NEXT: Name: bar@@FOO