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-940122-1.c
blob
512db3b6d755cbee5a8a7051ef6540adc24af830
1
/*
2
940122-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
char
*
a
=
0
;
13
char
*
b
=
0
;
14
15
void
g
(
int
x
)
16
{
17
if
((!!
a
) != (!!
b
))
18
ASSERT
(
0
);
19
}
20
21
void
f
(
int
x
)
22
{
23
g
(
x
*
x
);
24
}
25
26
void
27
testTortureExecute
(
void
)
28
{
29
f
(
100
);
30
return
;
31
}
32