test/codegen/issue38554.go
raw| 1 | // asmcheck |
| 2 | |
| 3 | // Copyright 2020 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | // Test that we are zeroing directly instead of |
| 8 | // copying a large zero value. Issue 38554. |
| 9 | |
| 10 | package codegen |
| 11 | |
| 12 | func retlarge() [256]byte { |
| 13 | // amd64:-"DUFFCOPY" |
| 14 | return [256]byte{} |
| 15 | } |