k,l,m := 0,0,0 doesn't compile

SVN=126247
This commit is contained in:
Rob Pike 2008-07-07 17:52:44 -07:00
parent 835cd46941
commit f86c6f673e
2 changed files with 16 additions and 0 deletions

11
test/bugs/bug065.go Normal file
View file

@ -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;
}

View 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