aboutsummaryrefslogtreecommitdiff
path: root/l/chaincond.lang
blob: 542cae9cd9adea161a22d3ae8e4540da97f57e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
func int main() {
	int a := 0;
	if (a == 0) {
		a = 1;
	} else {
		a = 2;
	}
	if (a > 0) {
		a = 10;
	} else {
		a = 20;
	}
	return a;
}