summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/bool6.C
blob: 30d04696126e683bfc9466d586165bd532e66a47 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// Bug:  The conversion from bool to int gets stripped.

bool b;

int main ()
{
  return ((!b) != 0);
}