diff options
| author | Shenghou Ma <minux@golang.org> | 2015-10-03 21:23:23 -0400 |
|---|---|---|
| committer | Minux Ma <minux@golang.org> | 2015-10-06 06:56:11 +0000 |
| commit | 48b1e6bc97818958dec084c4ecb2fc94257deee2 (patch) | |
| tree | 6176ca66668ed6c37e9759cd7d1eec776537e783 | |
| parent | cfb116d4538dcf2455ca59e786396c779019c065 (diff) | |
| download | go-48b1e6bc97818958dec084c4ecb2fc94257deee2.tar.xz | |
test: gofmt fixedbugs/issue10975.go
Change-Id: I772d1bc3e394cdd707f210f2aaff77100d299e24
Reviewed-on: https://go-review.googlesource.com/15380
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
| -rw-r--r-- | test/fixedbugs/issue10975.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/fixedbugs/issue10975.go b/test/fixedbugs/issue10975.go index 0a4b7be2a8..1aa7d89177 100644 --- a/test/fixedbugs/issue10975.go +++ b/test/fixedbugs/issue10975.go @@ -4,16 +4,15 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Issue 10975: Returning an invalid interface would cause -// `internal compiler error: getinarg: not a func`. +// Issue 10975: Returning an invalid interface would cause +// `internal compiler error: getinarg: not a func`. package main type I interface { - int // ERROR "interface contains embedded non-interface int" + int // ERROR "interface contains embedded non-interface int" } func New() I { return struct{}{} } - |
