Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20010610-1.c
blob: ee8e2431bbb5e6604c60babd0ffa2e174a4843f0 [
file
] [
log
] [
blame
]
/* 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
;
}