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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr25183.c
blob
0157b806c7dc8fa2628703b8960c812405ff1682
1
/* { dg-do compile } */
2
/* { dg-options "-pedantic" } */
3
4
enum
err
{
5
err_IO
=
0x8a450000
,
/* { dg-warning "int" } */
6
err_NM
,
7
err_EOF
,
8
err_SE
,
9
err_PT
10
};
11
static enum
err E_
;
12
int
error
()
13
{
14
switch
(
E_
) {
15
case
err_IO
:
break
;
16
case
err_NM
:
break
;
17
case
err_EOF
:
break
;
18
case
err_SE
:
break
;
19
case
err_PT
:
break
;
20
default
:
return
0
;
21
}
22
}