summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-20120111-1.c
blob: 7a197456e2c998643d77b62878443b577cdf5945 (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
/*
   20120111-1.c from the execute part of the gcc torture suite.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

#include <stdlib.h>
#include <stdint.h>

uint32_t f0a (uint64_t arg2);

uint32_t
f0a (uint64_t arg)
{
  return ~((unsigned) (arg > -3));
}

void
testTortureExecute (void)
{
  uint32_t r1;
  r1 = f0a (12094370573988097329ULL);
  if (r1 != ~0U)
    ASSERT(0);
}