2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access6.C
blob59d92975b9577848208ab3db6712a425be23fb42
1 // { dg-do assemble  }
3 template <int I>
4 struct S {
5   void g();
6 };
8 class C {
9   static const int i = 3; // { dg-bogus "" } private
10 public:
11   S<C::i>* f(); // { dg-bogus "" } redeclared
14 S<C::i>* C::f() { // { dg-bogus "" } private
15   return 0;