namespace y1 { struct y2 {}; } struct x1 { void x2(y1::y2); }; // This line prevents the Internal Compiler Error: // class dummy { void func(); }; template struct z2 {};