URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [enum7.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// 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;