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-20120111-1.c
blob
7a197456e2c998643d77b62878443b577cdf5945
1
/*
2
20120111-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
#include <stdlib.h>
12
#include <stdint.h>
13
14
uint32_t
f0a
(
uint64_t
arg2
);
15
16
uint32_t
17
f0a
(
uint64_t
arg
)
18
{
19
return
~((
unsigned
) (
arg
> -
3
));
20
}
21
22
void
23
testTortureExecute
(
void
)
24
{
25
uint32_t
r1
;
26
r1
=
f0a
(
12094370573988097329ULL
);
27
if
(
r1
!= ~
0U
)
28
ASSERT
(
0
);
29
}
30