aboutsummaryrefslogtreecommitdiff
path: root/tests/loop.ek
blob: 301e7eae32e0b1402bd887b5d935a63e58e2afad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
typedef i9 {}
typedef i27 {}

putchar(i9 c)
{
	*i9 p = 19683 as *i9;
	p* = c;
}

main()
{
	for i27 i = 0; i < 5; i = i + 1 {
		putchar('A' + i);
	}
}