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