summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/bitfield7.C
blob: d274e3e98b9e96d68f35ea4c393f2155a419d15d (plain)
1
2
3
4
5
6
7
8
// PR c++/31273

enum E { e };
struct S {
  E v:5;
};
S s;
int main() { if (!s.v) return 0; }