2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb76.C
blobc74e7bd8134adeae974cb289f7570e3e59698a99
1 // { dg-do assemble  }
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   }