2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20010610-1.c
blobee8e2431bbb5e6604c60babd0ffa2e174a4843f0
1 /* Origin: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 Boolean types were not accepted as array sizes nor as switch
4 quantities. */
6 #include <stdbool.h>
8 int
9 main(void)
11 bool arr[(bool)1];
13 switch (arr[0])
15 default:;
18 return 0;