summaryrefslogtreecommitdiff
path: root/test/intcvt.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-12-09 19:27:08 -0800
committerRobert Griesemer <gri@golang.org>2009-12-09 19:27:08 -0800
commit542099d78f36f1a23eb21fbca9dc6d3723fbdd25 (patch)
tree8340124f1181fcd9d5ca7b5b53c42336c6ace5d1 /test/intcvt.go
parent5f5dcfbc155dddb3b07345682cfdd0511a317723 (diff)
downloadgo-git-542099d78f36f1a23eb21fbca9dc6d3723fbdd25.tar.gz
making some more non-gofmt'ed files save for new semicolon rule
R=rsc, r https://golang.org/cl/171051
Diffstat (limited to 'test/intcvt.go')
-rw-r--r--test/intcvt.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/intcvt.go b/test/intcvt.go
index a108cffa1b..a54d276e6b 100644
--- a/test/intcvt.go
+++ b/test/intcvt.go
@@ -47,8 +47,7 @@ func chku64(i, v uint64) { if i != v { panicln(i, "!=", v) } }
//func chkf32(f, v float32) { if f != v { panicln(f, "!=", v) } }
//func chkf64(f, v float64) { if f != v { panicln(f, "!=", v) } }
-func main()
-{
+func main() {
chki8(int8(i8), ci8 & 0xff - 1<<8);
chki8(int8(i16), ci16 & 0xff);
chki8(int8(i32), ci32 & 0xff - 1<<8);