Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
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
;
}