1
0
mirror of https://github.com/golang/go synced 2024-10-04 08:21:22 -06:00
go/test/fixedbugs/bug088.dir/bug0.go
Russ Cox fb2c66710c compiler changes:
export.c:
		- only expose explicitly exported types to importer
		- fix behind your back
	go.h:
		- add deep() prototype (fixes 64-bit linux crash on time.go)
	go.y:
		- add a new syntax error case
	walk.c:
		- allow a,b = f() where f is func ptr (fixes bug088)

R=ken
OCL=15617
CL=15630
2008-09-22 12:45:01 -07:00

10 lines
255 B
Go

// 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 bug0
export var v0 *() int;
export var v1 *() (a int);
export var v2 *() (a, b int);