blob: 130e87f5c6f833f51d9f3e58ae0de71688701e8d (
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
43
44
|
/*
20020716-1.c from the execute part of the gcc torture suite.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
int sub1 (int val)
{
return val;
}
int testcond (int val)
{
int flag1;
{
int t1 = val;
{
int t2 = t1;
{
flag1 = sub1 (t2) ==0;
goto lab1;
};
}
lab1: ;
}
if (flag1 != 0)
return 0x4d0000;
else
return 0;
}
void testTortureExecute (void)
{
if (testcond (1))
ASSERT (0);
return;
}
|