OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / access10.C
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.
5
6 class X 
7 {
8   X (int);
9   static X foo;
10 public:
11   void dummy();
12 };
13
14 X X::foo = 9;