blob: 0d06ff1cf2cec350879698d0f1b47aeaae7a9535 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed enums
enum COLOR { red, green, blue };
struct S {
COLOR color:2;
};
COLOR color;
S object;
void fubar ()
{
color = object.color;
}