From: Rob Pike Date: Tue, 8 Jul 2008 00:52:44 +0000 (-0700) Subject: k,l,m := 0,0,0 doesn't compile X-Git-Tag: weekly.2009-11-06~3551 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f86c6f673e6de1fd57c8b0d79a833e0880a92aa3;p=gostls13.git k,l,m := 0,0,0 doesn't compile SVN=126247 --- diff --git a/test/bugs/bug065.go b/test/bugs/bug065.go new file mode 100644 index 0000000000..7ff373eb01 --- /dev/null +++ b/test/bugs/bug065.go @@ -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; +} diff --git a/test/golden.out b/test/golden.out index b3a7eb15d8..eb99ab7a72 100644 --- a/test/golden.out +++ b/test/golden.out @@ -237,6 +237,11 @@ bugs/bug064.go:15: illegal types for operand: CALL ({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