summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug3303325.c
blob: 09b6572320bd27bcc563e3bb154595fcd8f1d3ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
   bug3303325.c
*/

#include <testfwk.h>

unsigned char a;
void f(unsigned char b)
{	
  a = b;
}

void
testBug (void)
{
  a = 1;
  f(2);
  ASSERT (a == 2);
}