summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init9.C
blob: e22821022463c00a495792cf292f0b31cce2d780 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// GROUPS passed initialization
int FALSE = 0;
class X {
public:
  static int FALSE;
};

// The compiler should NOT complain about redeclaration of the global
// `FALSE' with this declaration...grokvardecl shouldn't be doing that.
int X::FALSE = 0;