Source file test/codegen/issue48054.go
1 // asmcheck 2 3 // Copyright 2021 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 package codegen 8 9 func a(n string) bool { 10 // arm64:"CBZ" 11 if len(n) > 0 { 12 return true 13 } 14 return false 15 } 16 17 func a2(n []int) bool { 18 // arm64:"CBZ" 19 if len(n) > 0 { 20 return true 21 } 22 return false 23 } 24 25 func a3(n []int) bool { 26 // amd64:"TESTQ" 27 if len(n) < 1 { 28 return true 29 } 30 return false 31 } 32