summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/bool5.C
blob: 1d2f5b60b46fb3e2e035aa646ecd2e733efb87e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do run  }
int main ()
{
  bool b = false;
  int i = b++;
  if (i != false || b != true)
    return 1;
  i = b++;
  if (i != true || b != true)
    return 1;
}