1 /// 2 /// build with g++ -fPIC -g -Wall -shared -o test2.so test2-0.cc test2-1.cc 3 /// and then pass the resulting test2.so to dwz by doing: 4 /// dwz test2.so 5 /// 6 #include "test2.h" 7 first_type()8first_type::first_type() 9 : member0(0), 10 member1(0) 11 {} 12 namespace a 13 { 14 15 first_type* build_first_type()16build_first_type() 17 {return new first_type;} 18 19 } 20