diff options
Diffstat (limited to 'test/codegen')
| -rw-r--r-- | test/codegen/strings.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/codegen/strings.go b/test/codegen/strings.go index f98c062d1b..64dcf4c842 100644 --- a/test/codegen/strings.go +++ b/test/codegen/strings.go @@ -26,6 +26,11 @@ func ToByteSlice() []byte { // Issue #24698 return []byte("foo") } +func ConvertToByteSlice(a, b, c string) []byte { + // amd64:`.*runtime.concatbyte3` + return []byte(a + b + c) +} + // Loading from read-only symbols should get transformed into constants. func ConstantLoad() { // 12592 = 0x3130 |
