summaryrefslogtreecommitdiffstats
path: root/util/romcc/tests/simple_test51.c
blob: 424ed7a0d12478e854ece7967529348b2bae3f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
static void main(void)
{
	unsigned long a,b,c, d;
	volatile unsigned long *val = (volatile unsigned long *)0x1234;
	a = val[0];
	b = val[1];
	d = val[2];
	c = a*b;
	val[3] = c;
	a = c / d;
}
OpenPOWER on IntegriCloud