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-pr23941.c
blob
ed8a8c3c37282a170645ef1e789a35075da0388a
1
/*
2
pr15262.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
#pragma disable_warning 93
10
#endif
11
12
#include <float.h>
13
14
extern
void
abort
(
void
);
15
double
d
=
FLT_MIN
/
2.0
;
16
17
void
18
testTortureExecute
(
void
)
19
{
20
double
x
=
FLT_MIN
/
2.0
;
21
if
(
x
!=
d
)
22
ASSERT
(
0
);
23
return
;
24
}
25