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
Revert DECL_USER_ALIGN part of r241959
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
switch-warn-3.c
blob
e13b4f58a7f065f3dd128b26630fc546394167a5
1
/* { dg-do compile } */
2
/* { dg-options "-Wswitch-enum" } */
3
4
enum
a
{
a0
,
a1
,
a2
,
a3
};
5
6
int
error
(
enum
a aa
)
7
{
8
switch
(
aa
)
9
{
10
case
a0
...
a3
:
11
return
1
;
12
}
13
return
0
;
14
}