summaryrefslogtreecommitdiff
path: root/test/simassign.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-12-09 21:39:20 -0800
committerRobert Griesemer <gri@golang.org>2009-12-09 21:39:20 -0800
commit09637b50347a21ebb6dcee77bdae8050a4354b29 (patch)
tree96075b66832cce1ff893a316e39d4b9b00031fd1 /test/simassign.go
parent19586282282f5f59c80162c711cd31b94396a87e (diff)
downloadgo-09637b50347a21ebb6dcee77bdae8050a4354b29.tar.gz
missed a couple of files in test
R=rsc, r http://codereview.appspot.com/172045
Diffstat (limited to 'test/simassign.go')
-rw-r--r--test/simassign.go9
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;