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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
case-bogus-1.c
blob
548312edf9e4fd56efcd61df8512d9fe713059b3
1
/* { dg-do compile } */
2
3
void
4
foo
(
int
n
)
5
{
6
switch
(
n
)
7
case
0
:
case
3
:
case
0.2
:
case
5
:;
/* { dg-error "21:case label does not reduce to an integer constant" } */
8
}