From: Robert Griesemer Date: Tue, 6 Apr 2021 18:36:36 +0000 (-0700) Subject: test/syntax: remove interface.go X-Git-Tag: go1.17beta1~821 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d57189e92b;p=gostls13.git 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 Run-TryBot: Robert Griesemer Reviewed-by: Ian Lance Taylor --- 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" -} - - -