Commit 3119221e authored by Russ Cox's avatar Russ Cox

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
parent b32769b1
// 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 { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment