☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
overload
/
rvalue1.C
☽
☼
gcc/testsuite/g++.dg/overload/rvalue1.C
code
plain
raw
1
// PR c++/42655
2
3
void unused(const bool &) { }
4
5
int main() {
6
volatile bool x = false;
7
unused(!!x); // type of "!x" is bool
8
unused(!x); // type of "!x" is bool
9
}
10