diff options
Diffstat (limited to 'test/simassign.go')
-rw-r--r-- | test/simassign.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/simassign.go b/test/simassign.go index ce86d48db..16f5a5714 100644 --- a/test/simassign.go +++ b/test/simassign.go @@ -9,14 +9,12 @@ package main var a,b,c,d,e,f,g,h,i int; func -printit() -{ +printit() { println(a,b,c,d,e,f,g,h,i); } func -testit(permuteok bool) bool -{ +testit(permuteok bool) bool { if a+b+c+d+e+f+g+h+i != 45 { print("sum does not add to 45\n"); printit(); @@ -40,8 +38,7 @@ swap(x, y int) (u, v int) { } func -main() -{ +main() { a = 1; b = 2; c = 3; |