summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-06-29 15:13:18 -0700
committerRuss Cox <rsc@golang.org>2009-06-29 15:13:18 -0700
commit35d8d30331026f1c69c4f66517b388d8eaae554c (patch)
treeecc5397e7fc1cf843b4ac0f47f8b2fefe4fad34b
parentd24c34a8af0beb14107287f080cf2725972e229b (diff)
downloadgolang-35d8d30331026f1c69c4f66517b388d8eaae554c.tar.gz
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
-rw-r--r--test/export.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/export.go b/test/export.go
deleted file mode 100644
index 8fe76d5f1..000000000
--- a/test/export.go
+++ /dev/null
@@ -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 { }