aboutsummaryrefslogtreecommitdiff
path: root/test/sinit.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
committerRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
commit4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c (patch)
tree094ba2238e5596358b6ae4db5789c7d1fee4ecb7 /test/sinit.go
parentcd8f4cd2068964bfa12e10cd094d41ddd725af4f (diff)
downloadgo-4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c.tar.gz
go-4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c.zip
test: remove semiocolons.
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev https://golang.org/cl/2157041
Diffstat (limited to 'test/sinit.go')
-rw-r--r--test/sinit.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/sinit.go b/test/sinit.go
index 7301066750..2adb931e14 100644
--- a/test/sinit.go
+++ b/test/sinit.go
@@ -9,10 +9,10 @@ package p
// Should be no init func in the assembly.
// All these initializations should be done at link time.
-type S struct{ a,b,c int };
-type SS struct{ aa,bb,cc S };
-type SA struct{ a,b,c [3]int };
-type SC struct{ a,b,c []int };
+type S struct{ a,b,c int }
+type SS struct{ aa,bb,cc S }
+type SA struct{ a,b,c [3]int }
+type SC struct{ a,b,c []int }
var (
zero = 2