summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-1294691.c
blob: b3528733419ed28c32f03ca4026357348e3f7954 (plain)
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
33
34
35
/*
   bug-1294691.c
*/

#include <testfwk.h>

unsigned char x = 1;
unsigned char y = 5;
int ret;


void
testBug(void)
{
  ret = 1;

  if (x)
  {
    if (y > 3)
    {
      if (y < 8)
      {
      }
    }
    else
    {
    }
  }
  else
  {
    ret = 0;
  }

  ASSERT(ret == 1);
}