aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb94.C
blob: 7f7c0b4e8eb2fc383ad25d8701f476658e393c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


class baseClass
{
private:
static int variable;
};

class myClass : public baseClass
{
private:
static int variable;                    // this is intentionally duplicated
};

myClass::variable = 0;                  //ERROR - no type