aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init9.C
blob: bad6416ef23c329636b62b3b820d543ea209c851 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Build don't link: 
// 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;