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
6class X
7{
8  X (int);
9  static X foo;
10public:
11  void dummy();
12};
13
14X X::foo = 9;
15