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-20100209-1.c
blob
0a655b21bfdc6ca03d7b6b4e0126980d5e962558
1
/*
2
20100209-1.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
int
bar
(
int
foo
)
8
{
9
return
(
int
)(((
unsigned long long
)(
long long
)
foo
) /
8
);
10
}
11
12
void
13
testTortureExecute
(
void
)
14
{
15
if
(
sizeof
(
long long
) >
sizeof
(
int
)
16
&&
bar
(-
1
) != -
1
)
17
ASSERT
(
0
);
18
return
;
19
}