repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR testsuite/86649
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
overload
/
rvalue1.C
blob
41805949dedc289cbd6c702f744eccd1ca6cc2e0
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