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.
19 func (MyInt) m(*T1) {}
23 var i interface{} = new(T1)
27 if !ok1 || ok2 || ok3 {
28 println("*T1", ok1, ok2, ok3)
33 var i interface{} = MyInt(0)
34 _, ok1 := i.(interface {
37 _, ok2 := i.(interface {
40 _, ok3 := i.(interface {
43 if !ok1 || ok2 || ok3 {
44 println("T", ok1, ok2, ok3)