class test1; class test2; class test1{ void test(){ test2 t;} }; class test2{};