aboutsummaryrefslogtreecommitdiff
path: root/l/chartest.lang
blob: 208bcab43ff7429152ce6bb36f31998ce589127c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
int glob := 42;

func f(char x) {
	putc(x);
}

func char g() {
	return '\n';
}

func int main() {
	char c := 'a';
	f(c);
	putc('\n');
	char d := g();
	c = d + d + d + d + d + d + d + d + 'a';
	putc(c);
	return 0;
}