blob: 426118da371111564bc9e32a8243b77974fefc37 (
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
|
/*
960402-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 long constants!
#if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
f (signed long long int x)
{
return x > 0xFFFFFFFFLL || x < -0x80000000LL;
}
#endif
void
testTortureExecute (void)
{
#if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
if (f (0) != 0)
ASSERT (0);
return;
#endif
}
|