// { dg-do assemble } template struct S { void g(); }; class C { static const int i = 3; // { dg-bogus "" } private public: S* f(); // { dg-bogus "" } redeclared }; S* C::f() { // { dg-bogus "" } private return 0; }