blob: 9338b3080d12d7ac0ecbebac3fdacf636480d6fe (
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
|
/*
980604-1.c from the execute part of the gcc torture suite.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#pragma disable_warning 93
#endif
int a = 1;
int b = -1;
int c = 1;
int d = 0;
void
testTortureExecute (void)
{
#if !defined(__SDCC_pdk14) // Lack of memory
double e;
double f;
double g;
f = c;
g = d;
e = (a < b) ? f : g;
if (e)
ASSERT (0);
return;
#endif
}
|