diff options
Diffstat (limited to 'test/fixedbugs/bug390.go')
-rw-r--r-- | test/fixedbugs/bug390.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug390.go b/test/fixedbugs/bug390.go index 9ee5bc9d6..7ce9e1370 100644 --- a/test/fixedbugs/bug390.go +++ b/test/fixedbugs/bug390.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style @@ -12,5 +12,5 @@ import "unsafe" func main() { var x *int - _ = unsafe.Pointer(x) - unsafe.Pointer(x) // ERROR "operator - not defined on unsafe.Pointer" + _ = unsafe.Pointer(x) - unsafe.Pointer(x) // ERROR "operator - not defined on unsafe.Pointer|expected integer, floating, or complex type" } |