summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test7.c
blob: 571f2cdb71a37fd3737b98032f2ac3e48795f0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
void main(void) 
{
	int i;
	i = 0;
	do {
		int j;
		__builtin_outb(i, 0xab);
		j = i++;
		__builtin_outb(j, 0xdc);
	} while(i <= 9);
	
}