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
PR c/56980
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr53887.c
blob
b46126cd2ac8f4f45fc3e4d7eff563d6db60a7f8
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
enum
5
{
Failed
,
NoError
,
NoDiskette
}
6
a
;
7
int
b
,
c
;
8
void
9
fn1
()
10
{
11
if
(
c
)
12
a
<<
1
;
13
switch
(
b
)
14
{
15
default
:
16
a
<<
1
;
17
case
0
:
18
b
=
0
;
19
case
1
:
20
case
NoDiskette
:
21
;
22
}
23
}
24