aboutsummaryrefslogtreecommitdiff
path: root/test/syntax
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2021-04-06 11:36:36 -0700
committerRobert Griesemer <gri@golang.org>2021-04-06 18:55:39 +0000
commitd57189e92b9b4cd6909aefbcee02e9cb6fc05cff (patch)
treec171c17a7b77ca4f335bdbd7cb20239c2d899429 /test/syntax
parent55bac87bd690d5812b3e6640977a0568f14c0715 (diff)
downloadgo-d57189e92b9b4cd6909aefbcee02e9cb6fc05cff.tar.xz
test/syntax: remove interface.go
The exact same test case covered by this file is also in fixedbugs/bug121.go. No need for duplication. Also, the actual syntax error tested (multiple method names with a single signature) is an unlikely syntax error, and only here for historical reasons (in the very beginning, this was actually possible to write). Now, virtually nobody is making this mistake. Change-Id: I9d68e0aee2a63025f44e6338647f8250ecc3077a Reviewed-on: https://go-review.googlesource.com/c/go/+/307789 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'test/syntax')
-rw-r--r--test/syntax/interface.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/syntax/interface.go b/test/syntax/interface.go
deleted file mode 100644
index 010d3ce578..0000000000
--- a/test/syntax/interface.go
+++ /dev/null
@@ -1,14 +0,0 @@
-// errorcheck
-
-// Copyright 2010 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.
-
-package main
-
-type T interface {
- f, g () // ERROR "name list not allowed in interface type"
-}
-
-
-