summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test49.c
blob: a5a12c1cd84b5dc0555a6f19371ec3c3c52ddb0c (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);
		
}