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
Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-930818-1.c
blob
26ddd8ed1c606d583add3927f141b36f7a5a34dd
1
/*
2
930818-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 93
10
#endif
11
12
static double
one
=
1.0
;
13
14
int
f
()
15
{
16
int
colinear
;
17
colinear
= (
one
==
0.0
);
18
if
(
colinear
)
19
ASSERT
(
0
);
20
return
colinear
;
21
}
22
void
23
testTortureExecute
(
void
)
24
{
25
if
(
f
())
ASSERT
(
0
);
26
return
;
27
}
28