1 // Compile this with: 2 // g++ -Wall -g -shared -Wl,--version-script=test3-fn-removed-version-script-0 -o libtest3-fn-removed-v0.so test3-fn-removed-v0.cc 3 4 int _internal_fun0()5_internal_fun0() 6 {return 0;} 7 8 asm(".symver _Z14_internal_fun0v,_Z4fun0v@@VERSION_1.0"); 9 10 void _internal_fun1()11_internal_fun1() 12 { 13 } 14 15 asm(".symver _Z14_internal_fun1v,_Z4fun1v@@VERSION_1.0"); 16 17 void fun3()18fun3() 19 { 20 } 21