| // 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. |
| func f() *Buffer { return nil } |
| // implicit interface conversion in assignment during return |
| func h() (b *Buffer, ok bool) { return } |
| func i() (r Reader, ok bool) { |
| // implicit interface conversion in multi-assignment during return |
| func fmter() (s string, i int, t string) { return "%#x %q", 100, "hello" } |
| s := fmt.Sprintf(fmter()) |
| if s != "0x64 \"hello\"" { |