Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.mike / enum1.C
blob0b1a0eeac146a126d9134ba662e55644468d1fa1
1 // { dg-do assemble  }
2 // Warn if a enum cannot fit into a small bit-field.
4 enum TypeKind { ATK, BTK, CTK, DTK } ;
6 struct Type {
7   enum TypeKind kind : 1;               // { dg-warning "" } 
8   void setBTK();
9 };
11 void Type::setBTK() { kind = DTK; }