1
0
mirror of https://github.com/golang/go synced 2024-11-22 17:35:19 -07:00
go/test/bugs/bug088.dir/bug0.go
Robert Griesemer 1e0b17b24c - added test case for compiler bug re: exported
variables of function pointer type

R=r
OCL=14086
CL=14086
2008-08-11 11:40:19 -07:00

10 lines
267 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 *func() int;
export var v1 *func() (a int);
export var v2 *func() (a, b int);