repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
./:
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20010610-1.c
blob
ee8e2431bbb5e6604c60babd0ffa2e174a4843f0
1
/* Origin: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3
Boolean types were not accepted as array sizes nor as switch
4
quantities. */
5
6
#include <stdbool.h>
7
8
int
9
main
(
void
)
10
{
11
bool
arr
[(
bool
)
1
];
12
13
switch
(
arr
[
0
])
14
{
15
default
:;
16
}
17
18
return
0
;
19
}