mirror of
https://github.com/golang/go
synced 2024-11-25 05:47: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:
parent
b32769b1a3
commit
3119221ed8
@ -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 { }
|
|
Loading…
Reference in New Issue
Block a user