aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/enum7.C
blob: 444fa489b8b80440c69972264ed7aff56c541a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link: 
// GROUPS passed enums
// friends file
// From: offline!marc@ai.mit.edu (Marc Duponcheel) (Marc Duponcheel)
// Date:     Sat, 6 Feb 93 23:31:22 PST
// Subject:  some 2.2.2 bugs
// Message-ID: <9302070731.AA002jw@offline.UUCP>

class X
{
        enum E { A, B };
static enum E   e;
};
enum X::E X::e = A;