1 /// to compile this: 2 /// g++ -g -fPIC -shared -o libtest33-v0.so test33-v0.cc 3 4 #include "test33-v0.h" 5 6 class to_suppress 7 { 8 int method1(); 9 char method2(); 10 }; 11 12 int method1()13to_suppress::method1() 14 {return 0;} 15 16 char method2()17to_suppress::method2() 18 {return 0;} 19 20 void method1()21to_keep::method1() 22 {} 23 24 void method2()25to_keep::method2() 26 {} 27 28 void foo(to_suppress &)29foo(to_suppress&) 30 {} 31 32 void bar(to_keep &)33bar(to_keep&) 34 {} 35