mirror of
https://github.com/golang/go
synced 2024-11-08 15:26:18 -07:00
20 lines
365 B
Go
20 lines
365 B
Go
|
// Copyright 2021 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package tmp
|
||
|
|
||
|
|
||
|
type S string
|
||
|
|
||
|
//go:noinline
|
||
|
func (s S) FF(t string) string {
|
||
|
return string(s) + " " + t
|
||
|
}
|
||
|
|
||
|
//go:noinline
|
||
|
//go:registerparams
|
||
|
func F(s,t string) string {
|
||
|
return s + " " + t
|
||
|
}
|