URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [enum8.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed enums
class foo1
{
public:
enum foo1_enum
{
ENUM1,
ENUM2, // { dg-error "comma at end" }
};
};
class foo2
{
private:
enum foo1::foo1_enum Enum;
};
class foo3
{
private:
foo1::foo1_enum Enum;
};