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/] [enum12.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed enums
enum Bool { False, True };
enum Bool object;
struct S
{
Bool field:1;
void copy_enum_bit_field () const { object = field; }
};
Go to most recent revision | Compare with Previous | Blame | View Log