1 // $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2011 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.
20 func (Value) Complex(x complex128) {
23 panic("bad complex magic")
27 func f(x *byte, y, z int) complex128 {
31 func (Value) Struct(x Struct) {
34 panic("bad struct magic")
38 func f1(x *byte, y, z int) Struct {
44 v.Struct(f1(nil, 0, 0)) // ok
45 v.Complex(f(nil, 0, 0)) // used to fail