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.
9 // wasm is excluded because the compiler chatter about register abi pragma ends up
10 // on stdout, and causes the expected output to not match.
26 func H(x toobig) string {
27 return x.a + " " + x.b + " " + x.c
31 s := H(toobig{"Hello", "there,", "World"})
32 gotVsWant(s, "Hello there, World")
35 func gotVsWant(got, want string) {
37 fmt.Printf("FAIL, got %s, wanted %s\n", got, want)