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;
}