blob: 33dc8be06c6c13b09b2dffa224783ba736544a37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
960513-1.c from the execute part of the gcc torture suite.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
// TODO: Enable when sdcc supports long double!
#if 0
long double
f (d, i)
long double d;
int i;
{
long double e;
d = -d;
e = d;
if (i == 1)
d *= 2;
d -= e * d;
d -= e * d;
d -= e * d;
d -= e * d;
d -= e * d;
return d;
}
#endif
void
testTortureExecute (void)
{
#if 0
if (! (int) (f (2.0L, 1)))
ASSERT (0);
return;
#endif
}
|