Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
compound-asn1.C
blob: 194235c64af518831b8eb6fcd5569a6d486ff9d4 [
file
] [
log
] [
blame
]
// PR c++/45437
// { dg-options -Wsequence-point }
// { dg-do run }
bool
f
(
bool
&
b
)
{
b
=
true
;
return
false
;
}
int
main
()
{
bool
b
=
false
;
b
|=
f
(
b
);
if
(!
b
)
return
1
;
}