predicate aware uninitialized analysis
[official-gcc.git] / gcc / testsuite / g++.dg / parse / bitfield1.C
blob2e076058508fbdbfe724d7addacb9eb36aaec516
1 // PR c++/27803
3 struct A
5   double i : 8; // { dg-error "type" }
6 };
8 void foo(A& a)
10   (char)a.i;    // { dg-error "no member" }