1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:37:57 -07:00

bogus test: planning to allow forward declarations

of structs/interfaces in other files in the package.

R=r
DELTA=12  (0 added, 12 deleted, 0 changed)
OCL=30865
CL=30868
This commit is contained in:
Russ Cox 2009-06-29 15:13:18 -07:00
parent b32769b1a3
commit 3119221ed8

View File

@ -1,16 +0,0 @@
// 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.
// errchk $G $D/$F.go
package main
type A struct // ERROR "incomplete"
type B interface // ERROR "incomplete"
type C struct
type D interface
type C struct { }
type D interface { }