mirror of
https://github.com/golang/go
synced 2024-11-14 18:00:25 -07:00
fb2c66710c
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
10 lines
255 B
Go
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);
|