summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test55.c
blob: d5cc2e894cfe1acd7ff8b0b272320667e02d9b2f (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
static void main(void)
{
	static const int sdivisor = 20;
	const int *pdivisor;
	unsigned rdpreamble;
	unsigned divisor;
	pdivisor = &sdivisor;
	divisor = *pdivisor;
	rdpreamble = 0;

	if (divisor == 20) {
		rdpreamble = 18;
	}
	else {
		if (divisor == 15) {
			rdpreamble = 16;
		}
		else {
			if (divisor == 12) {
				rdpreamble = 15;
			}
		}
	}
}