1 // $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
13 func (*Buffer) Read() {}
15 type Reader interface {
19 func f() *Buffer { return nil }
22 // implicit interface conversion in assignment during return
26 func h() (b *Buffer, ok bool) { return }
28 func i() (r Reader, ok bool) {
29 // implicit interface conversion in multi-assignment during return
33 func fmter() (s string, i int, t string) { return "%#x %q", 100, "hello" }
44 s := fmt.Sprintf(fmter())
45 if s != "0x64 \"hello\"" {