1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* Origin: Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Boolean types were not accepted as array sizes nor as switch quantities. */ #include <stdbool.h> int main(void) { bool arr[(bool)1]; switch (arr[0]) { default:; } return 0; }