summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-20070724-1.c
blob: 6005cc473dcdb8231de5404c12acab0ef16d3632 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
   20070724-1.c from the execute part of the gcc torture suite.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

static unsigned char magic[] = "\235";
static unsigned char value = '\235';

void
testTortureExecute (void)
{
#if !(defined (__GNUC__) && __GNUC__ < 5)
  if (value != magic[0])
    ASSERT (0);
  return;
#endif
}