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.
13 // Test that register results are correctly returned (and passed)
15 type MagicLastTypeNameForTestingRegisterABI func(int, MagicLastTypeNameForTestingRegisterABI) (int, int)
18 func f(x int, unused MagicLastTypeNameForTestingRegisterABI) (int, int) {
24 a, b := f(x-2, unused)
25 c, d := f(x-1, unused)
32 fmt.Printf("f(%d)=%d,%d\n", x, a, b)