go/src/cmd/compile/internal/test/abiutilsaux_test.go

func mkParamResultField(t *types.Type, s *types.Sym, which ir.Class) *types.Field {}

// mkstruct is a helper routine to create a struct type with fields
// of the types specified in 'fieldtypes'.
func mkstruct(fieldtypes ...*types.Type) *types.Type {}

func mkFuncType(rcvr *types.Type, ins []*types.Type, outs []*types.Type) *types.Type {}

type expectedDump

func tokenize(src string) []string {}

func verifyParamResultOffset(t *testing.T, f *types.Field, r abi.ABIParamAssignment, which string, idx int) int {}

func makeExpectedDump(e string) expectedDump {}

func difftokens(atoks []string, etoks []string) string {}

func nrtest(t *testing.T, ft *types.Type, expected int) {}

func abitest(t *testing.T, ft *types.Type, exp expectedDump) {}