summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/bool1.C
blob: 86754e32428251696b05e01a0acb6b265b574817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// GROUPS passed boolean
int
main()
{
    typedef char Boolean; // Instrinsic.h
    Boolean c = false;
    bool b = true;

    if (!c != !b)
	;
}