blob: 59d92975b9577848208ab3db6712a425be23fb42 [file] [log] [blame]
// { dg-do assemble }
template <int I>
struct S {
void g();
};
class C {
static const int i = 3; // { dg-bogus "" } private
public:
S<C::i>* f(); // { dg-bogus "" } redeclared
};
S<C::i>* C::f() { // { dg-bogus "" } private
return 0;
}