]> Cypherpunks repositories - gostls13.git/commitdiff
import syntax incorrect
authorRobert Griesemer <gri@golang.org>
Tue, 18 Nov 2008 17:39:34 +0000 (09:39 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 18 Nov 2008 17:39:34 +0000 (09:39 -0800)
R=r
OCL=19457
CL=19457

test/bugs/bug125.go [new file with mode: 0644]
test/golden.out

diff --git a/test/bugs/bug125.go b/test/bugs/bug125.go
new file mode 100644 (file)
index 0000000..e2be164
--- /dev/null
@@ -0,0 +1,15 @@
+// errchk $G $D/$F.go
+
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package main
+
+import (
+       OS "os"  // should require semicolon here; this is no different from other decls
+       IO "io"
+)
+
+func main() {
+}
index 3e113a375b9dd59401f3b5e9225c21a1e101c59e..efad87433d4ee56ca66003b2165794b7d98cc971 100644 (file)
@@ -125,7 +125,7 @@ BUG: errchk: command succeeded unexpectedly:  6g bugs/bug104.go
 
 =========== bugs/bug105.go
 bugs/bug105.go:8: P: undefined
-bugs/bug105.go:8: illegal types for operand: RETURN
+bugs/bug105.go:9: illegal types for operand: RETURN
        int
 BUG: should compile
 
@@ -139,7 +139,7 @@ BUG: bug115 should compile
 
 =========== bugs/bug117.go
 bugs/bug117.go:9: undefined DOT get on PS
-bugs/bug117.go:9: illegal types for operand: RETURN
+bugs/bug117.go:10: illegal types for operand: RETURN
        int
 BUG: should compile
 
@@ -169,6 +169,9 @@ BUG: errchk: command succeeded unexpectedly:  6g bugs/bug123.go
 =========== bugs/bug124.go
 BUG: errchk: command succeeded unexpectedly:  6g bugs/bug124.go
 
+=========== bugs/bug125.go
+BUG: errchk: command succeeded unexpectedly:  6g bugs/bug125.go
+
 =========== fixedbugs/bug016.go
 fixedbugs/bug016.go:7: overflow converting constant to uint