1
0
mirror of https://github.com/golang/go synced 2024-11-27 00:31:23 -07:00
go/usr/gri/gosrc/base.go
Robert Griesemer 2b70c6add3 - fixed old test cases with wrong syntax
- added more test cases to Makefile
- fixed another parser issue (possibly a 6g bug - to be tracked down)

R=r
OCL=15516
CL=15516
2008-09-18 23:09:07 -07:00

24 lines
396 B
Go
Executable File

// 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.
// Base for the decls.go tests.
package base
export type Foo int
export type Bar *float;
export type Node struct {
left, right *Node;
val bool;
f Foo;
}
export func (p *Node) F(x int) {};
export type I interface {
f();
}