summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test49.c
blob: b18b4cb4b91999574bf28130f5c5661cd439c707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

static void main(void)
{
	int i;
	i = __builtin_inb(0x1234);
	if (i == 23) {
		for(;;) {
			int j;
			j = __builtin_inb(0xabcd);
			__builtin_outb(j, 0xef90);
		}
	}
	__builtin_outb(i, 0x5678);

}