blob: 3125dc15f34ee5c19e901ee178184d720e0b63a5 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-fno-short-enums" }
// the template operator!= interferes. It should be in a namespace.
#include <utility>
enum T {
V1
};
struct X {
T t : 31;
};
void
f(X& v) {
if( v.t != V1 ) { // complains about taking address of bitfield
}
}