Test multiple files
fix weakptr.cpp to make it work.