☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
error18.C
☽
☼
gcc/testsuite/g++.dg/other/error18.C
code
plain
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
}