Initial commit: Go 1.23 release state
This commit is contained in:
15
test/codegen/issue38554.go
Normal file
15
test/codegen/issue38554.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// asmcheck
|
||||
|
||||
// Copyright 2020 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.
|
||||
|
||||
// Test that we are zeroing directly instead of
|
||||
// copying a large zero value. Issue 38554.
|
||||
|
||||
package codegen
|
||||
|
||||
func retlarge() [256]byte {
|
||||
// amd64:-"DUFFCOPY"
|
||||
return [256]byte{}
|
||||
}
|
||||
Reference in New Issue
Block a user