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-20000523-1.c
blob
7556ef22d5bc3616058ef56939b87fde242909ef
1
/*
2
20000523-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
12
testTortureExecute
(
void
)
13
{
14
long long
x
;
15
int
n
;
16
17
if
(
sizeof
(
long long
) <
8
)
18
return
;
19
20
n
=
9
;
21
x
= (((
long long
)
n
) <<
55
) /
0xff
;
22
23
if
(
x
==
0
)
24
ASSERT
(
0
);
25
26
x
= (((
long long
)
9
) <<
55
) /
0xff
;
27
28
if
(
x
==
0
)
29
ASSERT
(
0
);
30
31
return
;
32
}
33