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-920929-1.c
blob
c4be56b5273c650c1422fd79488760244d8c38f5
1
/*
2
920929-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
#endif
10
11
// Todo: Enable when sdcc supports VLA!
12
#if 0
13
/* REPRODUCED:RUN:SIGNAL MACHINE:sparc OPTIONS: */
14
f
(
int
n
)
15
{
16
int
i
;
17
double
v
[
n
];
18
for
(
i
=
0
;
i
<
n
;
i
++)
19
v
[
i
]=
0
;
20
}
21
#endif
22
23
void
24
testTortureExecute
(
void
)
25
{
26
#if 0
27
f
(
100
);
28
return
;
29
#endif
30
}
31