mirror of
https://github.com/golang/go
synced 2024-10-14 03:43:28 +00:00
k,l,m := 0,0,0 doesn't compile
SVN=126247
This commit is contained in:
parent
835cd46941
commit
f86c6f673e
11
test/bugs/bug065.go
Normal file
11
test/bugs/bug065.go
Normal 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;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue