1 // { dg-do assemble } 2 3 template <int I> 4 struct S { 5 void g(); 6 }; 7 8 class C { 9 static const int i = 3; // { dg-bogus "" } private 10 public: 11 S<C::i>* f(); // { dg-bogus "" } redeclared 12 }; 13 f()14 S<C::i>* C::f() { // { dg-bogus "" } private 15 return 0; 16 } 17 18