blob: 87c2e05363bbba6b7cce769607900326629375f9 (
plain)
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
|
/*
pr68911.c from the execute part of the gcc torture tests.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
char a;
int b, c;
short d;
void
testTortureExecute (void)
{
unsigned e = 2;
unsigned timeout = 0;
for (; c < 2; c++)
{
int f = ~e / 7;
if (f)
a = e = ~(b && d);
while (e < 94)
{
e++;
if (++timeout > 100)
goto die;
}
}
return;
die:
ASSERT(0);
}
|