mirror of
https://github.com/golang/go
synced 2024-11-22 21:20:03 -07:00
58ba20b5a2
R=r OCL=14102 CL=14102
25 lines
435 B
Go
Executable File
25 lines
435 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;
|
|
const, type, var, package int;
|
|
}
|
|
|
|
export func (p *Node) case(x int) {};
|
|
|
|
export type I interface {
|
|
func();
|
|
}
|