1 // { dg-do assemble { xfail *-*-* } }
2 // Templates defined outside must be declared inside
5 // trick it to provide some prior declaration
7 void foo(); // { dg-error "definition" }
8 template<class T>class X; // { dg-error "" } previous declaration
14 { // { dg-error "" "" { xfail *-*-* } } not declared in bar -
18 template<> void bar::foo<int>()
22 template<class T,class U>
23 class bar::X{}; // { dg-error "" } does not match declaration