blob: fab57032a2b9e829f21b7895e692010c8bb7fba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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; }
};
|