gbdk-releases/sdcc/support/regression/tests/bug-469671.c
2015-01-10 16:25:09 +01:00

19 lines
201 B
C

/* 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);
}