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.
18 // 6 words will not SSA but will fit in registers
24 func H(x toobig) string {
25 return x.a + " " + x.b + " " + x.c
30 func I(a, b, c string) toobig {
31 return toobig{a, b, c}
35 s := H(toobig{"Hello", "there,", "World"})
36 gotVsWant(s, "Hello there, World")
38 t := H(I("Ahoy", "there,", "Matey"))
39 gotVsWant(t, "Ahoy there, Matey")
43 func gotVsWant(got, want string) {
45 fmt.Printf("FAIL, got %s, wanted %s\n", got, want)