Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
}