2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20010423-1.c
blobef7771f8e6be46265607cb47e332d60d2c1c9189
1 /* Origin: PR c/2618 from Cesar Eduardo Barros <cesarb@nitnet.com.br>,
2 adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
4 Boolean conversions were causing infinite recursion between convert
5 and fold in certain cases. */
7 #include <stdbool.h>
9 bool x;
10 unsigned char y;
12 void
13 fn (void)
15 x = y & 0x1 ? 1 : 0;