Debian Codegraph @

gcc/testsuite/g++.dg/other/error18.C

raw
1 // PR c++/33208
2
3 struct A
4 {
5 bool b;
6 };
7
8 void f(A a)
9 {
10 a.b--; // { dg-error "5:use of an operand of type .bool." }
11 }