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-930406-1.c
blob
8013ee513ec701b22929301488c868e3e5fcb0bf
1
/*
2
930406-1.c from the execute part of the gcc torture suite.
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c99
9
#pragma disable_warning 85
10
#endif
11
12
void
f
()
13
{
14
int
x
=
1
;
15
#if !defined(__SDCC_mcs51) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15)
16
char
big
[
2048
];
17
#else
18
char
big
[
2
];
19
#endif
20
21
{
22
mylabel
:
23
x
++;
24
if
(
x
!=
3
)
25
goto
mylabel
;
26
}
27
return
;
28
}
29
30
void
31
testTortureExecute
(
void
)
32
{
33
f
();
34
}
35