summaryrefslogtreecommitdiffstats
path: root/test/codegen/issue38554.go
blob: 84db8473d377ea939eb331e1c0a48c538552bd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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{}
}