Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / bitfld4.C
blob96cb216b546ff2c248977738f08c7fb1273ff0b7
1 // { dg-do assemble  }
2 // Origin: "Chen, Wen-Ke" <chwk@cs.arizona.edu>
4 template <class T>
5 bool operator!=(const T&, const T&);
7 enum MsgType {
8   MSG_DATA
9 };
11 class C {
12 public:
13   MsgType mType : 8;
16 int main(void)
18   extern C& c;
20   c.mType = MSG_DATA; 
21   if (c.mType != MSG_DATA)
22     return -1;
24   return 0;