Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
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
;
}