]> Cypherpunks repositories - gostls13.git/commitdiff
k,l,m := 0,0,0 doesn't compile
authorRob Pike <r@golang.org>
Tue, 8 Jul 2008 00:52:44 +0000 (17:52 -0700)
committerRob Pike <r@golang.org>
Tue, 8 Jul 2008 00:52:44 +0000 (17:52 -0700)
SVN=126247

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

diff --git a/test/bugs/bug065.go b/test/bugs/bug065.go
new file mode 100644 (file)
index 0000000..7ff373e
--- /dev/null
@@ -0,0 +1,11 @@
+// $G $D/$F.go && $L $F.$A && ./$A.out
+
+// 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
+
+func main() {
+       k, l, m := 0,0,0;
+}
index b3a7eb15d85630c87bfa8b520239592ca82e9f4a..eb99ab7a72a88e3cc1e3b541955a0b2dc2e8a269 100644 (file)
@@ -237,6 +237,11 @@ bugs/bug064.go:15: illegal types for operand: CALL
        ({<u><int32>INT32;<v><int32>INT32;})
 BUG: compilation should succeed
 
+=========== bugs/bug065.go
+bugs/bug065.go:6: bad shape across assignment - cr=3 cl=2
+
+BUG: known to fail incorrectly
+
 =========== fixedbugs/bug000.go
 
 =========== fixedbugs/bug001.go