repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-20030909-1.c
blob
249c9b05cb3a9442b7d97d25d338eb6af23b3216
1
/*
2
20030909-1.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c99
9
#endif
10
11
void
test
(
int
x
,
int
y
)
12
{
13
if
(
x
==
y
)
14
ASSERT
(
0
);
15
}
16
17
void
foo
(
int
x
,
int
y
)
18
{
19
if
(
x
==
y
)
20
goto
a
;
21
else
22
{
23
a
:;
24
if
(
x
==
y
)
25
goto
b
;
26
else
27
{
28
b
:;
29
if
(
x
!=
y
)
30
test
(
x
,
y
);
31
}
32
}
33
}
34
35
void
36
testTortureExecute
(
void
)
37
{
38
foo
(
0
,
0
);
39
40
return
;
41
}
42