FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access10.C
blob6db610c5010567407e934db597b551b1484f331f
1 // PRMS Id: 4839
2 // Bug: The initializer of a static member of a class has the same acess
3 // rights as a member function.  g++ doesn't realize that.
4 // Build don't link:
6 class X 
8   X (int);
9   static X foo;
10 public:
11   void dummy();
14 X X::foo = 9;