summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-469671.c
blob: 56cf1c752d07cdd6898f1616f7b1ab0780f09e55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* bug 469671.c

   storage: static, 
 */
#include <testfwk.h>

void
testMul(void)
{
  {storage} volatile int a, b;

  a = 5;
  b = a*2;
  ASSERT(b == 10);

  a = -33;
  b = a*2;
  ASSERT(b == -66);
}