1 // Compile with: 2 // g++ -g -Wall -o test0-fn-changed-app -L. -ltest0-fn-changed-libapp-v0 test0-fn-changed-app.cc 3 // 4 5 #include "test0-fn-changed-libapp.h" 6 7 int main()8main() 9 { 10 libapp::S0* s0 = libapp::create_s0(); 11 libapp::S1* s1 = libapp::create_s1(); 12 13 fun0(*s0); 14 fun1(s1); 15 16 libapp::destroy(s0); 17 libapp::destroy(s1); 18 } 19