mirror of
https://github.com/golang/go
synced 2024-11-26 16:07:00 -07:00
839a68469b
TBR=r OCL=23121 CL=23127
24 lines
361 B
Go
Executable File
24 lines
361 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
|
|
|
|
type Foo int
|
|
|
|
type Bar *float;
|
|
|
|
type Node struct {
|
|
left, right *Node;
|
|
val bool;
|
|
f Foo;
|
|
}
|
|
|
|
func (p *Node) F(x int) {};
|
|
|
|
type I interface {
|
|
f();
|
|
}
|