1// Copyright 2009 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package main 6 7import P "./bug0" 8 9func main() { 10 a0 := P.V0(); // works 11 a1 := P.V1(); // works 12 a2, b2 := P.V2(); // doesn't work 13 _, _, _, _ = a0, a1, a2, b2; 14} 15 16/* 17uetli:~/Source/go1/test/bugs/bug088.dir gri$ 6g bug0.go && 6g bug1.go 18bug1.go:8: shape error across := 19bug1.go:8: a2: undefined 20bug1.go:8: b2: undefined 21bug1.go:8: illegal types for operand: AS 22 (<(bug0)P.int32>INT32) 23*/ 24