summaryrefslogtreecommitdiff
path: root/test/cases/colm.d/ifblock1.lm
blob: e35a877db7a599e95196b1ac19a8f237e011c669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
if 1
	print( '1\n' )

if 2 {
	print( '2\n' )
}

if 3 {
	print( '3\n' )
	print( '4\n' )
}

if 0
	print( '0\n' )
elsif 0
	print( '0\n' )

if 0
	print( '0\n' )
elsif 1
	print( '5\n' )

if 0
	print( '0\n' )
elsif 0
	print( '0\n' )
elsif 1
	print( '6\n' )

if 0
	print( '0\n' )
elsif 0
	print( '0\n' )
elsif 0
	print( '0\n' )
else
	print( '7\n' )
##### EXP #####
1
2
3
4
5
6
7