6 // Copyright 2021 The Go Authors. All rights reserved.
7 // Use of this source code is governed by a BSD-style
8 // license that can be found in the LICENSE file.
15 func NoteFailure(fidx int, pkg string, pref string, parmNo int, _ uint64) {
23 func NoteFailureElem(fidx int, pkg string, pref string, parmNo int, elem int, _ uint64) {
30 type StructF0S0 struct {
36 type StructF0S1 struct {
43 func Test0(p0 uint32, p1 StructF0S0, p2 int32) {
44 // consume some stack space, so as to trigger morestack
52 NoteFailureElem(0, "genChecker0", "parm", 1, 0, pad[0])
57 NoteFailureElem(0, "genChecker0", "parm", 1, 1, pad[0])
62 NoteFailureElem(0, "genChecker0", "parm", 1, 2, pad[0])
65 p2f0c := int32(496713155)
67 NoteFailureElem(0, "genChecker0", "parm", 2, 0, pad[0])
73 // 0 addr-taken params, 0 addr-taken returns