// Build don't link: template struct S { void g(); }; class C { static const int i = 3; // gets bogus error - private - XFAIL *-*-* public: S* f(); // gets bogus error - redeclared - XFAIL *-*-* }; S* C::f() { // gets bogus error - private - XFAIL *-*-* return 0; }