diff options
Diffstat (limited to 'test/interface/pointer.go')
-rw-r--r-- | test/interface/pointer.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/interface/pointer.go b/test/interface/pointer.go index f1e363cbf..292705066 100644 --- a/test/interface/pointer.go +++ b/test/interface/pointer.go @@ -1,10 +1,11 @@ -// errchk $G $D/$F.go +// errorcheck // 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. -// Check that interface{M()} = *interface{M()} produces a compiler error. +// Test that interface{M()} = *interface{M()} produces a compiler error. +// Does not compile. package main |