5 // Copyright 2021 The Go Authors. All rights reserved.
6 // Use of this source code is governed by a BSD-style
7 // license that can be found in the LICENSE file.
14 func NoteFailure(fidx int, pkg string, pref string, parmNo int, _ uint64) {
22 func NoteFailureElem(fidx int, pkg string, pref string, parmNo int, elem int, _ uint64) {
29 type StructF0S0 struct {
35 type StructF0S1 struct {
42 func Test0(p0 uint32, p1 StructF0S0, p2 int32) {
43 // consume some stack space, so as to trigger morestack
51 NoteFailureElem(0, "genChecker0", "parm", 1, 0, pad[0])
56 NoteFailureElem(0, "genChecker0", "parm", 1, 1, pad[0])
61 NoteFailureElem(0, "genChecker0", "parm", 1, 2, pad[0])
64 p2f0c := int32(496713155)
66 NoteFailureElem(0, "genChecker0", "parm", 2, 0, pad[0])
72 // 0 addr-taken params, 0 addr-taken returns