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

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#pragma disable_warning 85
#endif

// Some ports do not support long long yet
#if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
void big(long long u) { }

void doit(unsigned int a,unsigned int b,char *id)
{
  big(*id);
  big(a);
  big(b);
}
#endif

void
testTortureExecute (void)
{
#if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
  doit(1,1,"\n");
  return;
#endif
}