aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorMichael Munday <mike.munday@lowrisc.org>2021-09-08 14:14:53 +0000
committerMichael Munday <mike.munday@lowrisc.org>2021-09-08 14:51:40 +0000
commit8214257347b16a03464ace16bbcf6346fc784a3e (patch)
tree5a145ed0be107c872c9470f3a3e512d6f8984f83 /test/codegen
parent1da64686f85da38af13c4ee186f261343455c697 (diff)
downloadgo-8214257347b16a03464ace16bbcf6346fc784a3e.tar.xz
test/codegen: fix package name for test case
The codegen tests are currently skipped (see #48247). The test added in CL 346050 did not compile because it was in the main package but did not contain a main function. Changing the package to 'codegen' fixes the issue. Updates #48247. Change-Id: I0a0eaca8e6a7d7b335606d2c76a204ac0c12e6d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/348392 Trust: Michael Munday <mike.munday@lowrisc.org> Run-TryBot: Michael Munday <mike.munday@lowrisc.org> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/issue48054.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/codegen/issue48054.go b/test/codegen/issue48054.go
index 6ef37e9452..1f3a041044 100644
--- a/test/codegen/issue48054.go
+++ b/test/codegen/issue48054.go
@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package main
+package codegen
func a(n string) bool {
// arm64:"CBZ"