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

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

short a = -1;
int b;
char c;

void
testTortureExecute (void)
{
  c = a;
  b = a | c;
  if (b != -1)
    ASSERT (0);
}