mirror of
https://github.com/golang/go
synced 2024-11-17 22:05:02 -07:00
16 lines
355 B
Go
16 lines
355 B
Go
|
// 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{}
|
||
|
}
|