* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Don't
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20051021-1.c
blob0cd2c89ad8f3fe3fd5e7d0697e52b7a41715de4b
1 /* Verify that TRUTH_AND_EXPR is not wrongly changed to TRUTH_ANDIF_EXPR. */
3 extern void abort (void);
5 int count = 0;
7 int foo1(void)
9 count++;
10 return 0;
13 int foo2(void)
15 count++;
16 return 0;
19 int main(void)
21 if ((foo1() == 1) & (foo2() == 1))
22 abort ();
24 if (count != 2)
25 abort ();
27 return 0;