URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [enum8.C] - Rev 841
Go to most recent revision | 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;
};
Go to most recent revision | Compare with Previous | Blame | View Log