2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access10.C
bloba8a2bb9fd42488a879abbae8ac32b52866cd3efb
1 // { dg-do assemble  }
2 // PRMS Id: 4839
3 // Bug: The initializer of a static member of a class has the same acess
4 // rights as a member function.  g++ doesn't realize that.
6 class X 
8   X (int);
9   static X foo;
10 public:
11   void dummy();
14 X X::foo = 9;