Debian Codegraph @

gcc/testsuite/g++.dg/overload/rvalue1.C

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