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

func f() {
	glob = glob + 10;
}

func g(int x , int y) {
	glob = glob + x + 2 * y;
}

func int main() {
	int i := 0; /* block /* comments */ nest! */
	// int[4] arr := 2;
	i = i + 1;
	f();
	if (i > 0 && i < 10) {
		int i := 20;
		g(i , 2 * i);
	}
}