PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/go/grouping_runme.go

#
Go | 19 lines | 14 code | 5 blank | 0 comment | 4 complexity | 1d3cfc23f7da3d6ddba1d8a4d0d953db MD5 | raw file
 1package main
 2
 3import "./grouping"
 4
 5func main() {
 6	x := grouping.Test1(42)
 7	if x != 42 {
 8		panic(0)
 9	}
10
11	grouping.Test2(42)
12
13	x = grouping.Do_unary(37, grouping.NEGATE)
14	if x != -37 {
15		panic(0)
16	}
17
18	grouping.SetTest3(42)
19}