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
2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr67784-3.c
blob
45e3c44b26625c45a4b585682c2ebbc008c22547
1
/* PR c/67784 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
5
typedef
int
T
;
6
7
void
8
fn1
(
void
)
9
{
10
if
(
sizeof
(
enum
{
T
}) ==
0
)
11
;
12
T x
;
13
}
14
15
void
16
fn2
(
void
)
17
{
18
int
i
=
0
;
19
if
(
sizeof
(
enum
{
T
}) ==
0
)
20
i
++;
21
T x
;
22
}
23
24
void
25
fn3
(
void
)
26
{
27
if
(
sizeof
(
enum
{
T
}) ==
0
)
28
{
29
}
30
T x
;
31
}
32
33
void
34
fn4
(
void
)
35
{
36
if
(
sizeof
(
enum
{
T
}) ==
0
)
37
L
:
38
;
39
T x
;
40
}
41
42
void
43
fn5
(
void
)
44
{
45
if
(
sizeof
(
enum
{
T
}) ==
0
)
46
;
47
else
48
;
49
T x
;
50
}