FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb76.C
blobf8dba7b47416f210325e5c49d33c47ff6fb8712e
1 //Build don't link:
2 // the template operator!= interferes.  It should be in a namespace.
4 #include <utility>
6 enum T {
7   V1
8 };
10 struct X {
11   T      t : 31;
14 void
15 f(X& v) {
16   if( v.t != V1 ) {             // complains about taking address of bitfield
17   }