blob: 8109a2f0eaad515d0f4f28f03c4bcfc9a8bd9275 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-fno-short-enums" }
// { dg-skip-if "" int16 }
// 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
}
}