1
// Copyright 2010 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
5
// This file contains tests for the canonical method checker.
9
// This file contains the code to check canonical methods.
19
func (t *MethodTest) Scan(x fmt.ScanState, c byte) { // ERROR "should have signature Scan"
22
type MethodTestInterface interface {
23
ReadByte() byte // ERROR "should have signature ReadByte"