blob: e6341fa8723a1f6ccfea7aed96acebeb7857db0b [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed warnings
enum TypeKind { ATK, BTK } ;
struct Type {
enum TypeKind kind : 8;
void setBTK();
};
void Type::setBTK() { kind = BTK; }