Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum12.C
blob: fab57032a2b9e829f21b7895e692010c8bb7fba0 [
file
] [
log
] [
blame
]
// { 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
;
}
};