summaryrefslogtreecommitdiff
path: root/tests/test_conditional_4.tnsl
blob: d31944a665fd4638a7789c60449496a61fe8fb08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

/; main [int]
	int a = 0
	int b = 69
	int c = 70

	/; if (a < b && b > c)
		return c
	;; else if (b > c && a < b)
		return a
	;; else if (a > b && b > c)
		return 1
	;/

	return b
;/