blob: e2817eefd0984259ced32dd394daa5950c682105 [file] [log] [blame]
//Build don't link:
// the template operator!= interferes. It should be in a namespace.
// excess errors test - XFAIL *-*-*
#include <utility>
enum T {
V1
};
struct X {
T t : 31;
};
void
f(X& v) {
if( v.t != V1 ) { // complains about taking address of bitfield
}
}