Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
rvalue1.C
blob: 41805949dedc289cbd6c702f744eccd1ca6cc2e0 [
file
] [
log
] [
blame
]
// PR c++/42655
void
unused
(
const
bool
&)
{
}
int
main
()
{
volatile
bool
x
=
false
;
unused
(!!
x
);
// type of "!x" is bool
unused
(!
x
);
// type of "!x" is bool
}