mirror of
https://github.com/golang/go.git
synced 2025-05-22 16:09:37 +00:00
- deprecate old syntax in this front-end (use -6g for compatibility) R=r OCL=13831 CL=13833
18 lines
323 B
Go
Executable File
18 lines
323 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
|
|
}
|