Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / g++.dg / other / error18.C
blob9e4d21cfde0b13a0249426273fed81de37042b49
1 // PR c++/33208
3 struct A
5   bool b;
6 };
8 void f(A a)
10   a.b--; // { dg-error "Boolean expression" }