From 8214257347b16a03464ace16bbcf6346fc784a3e Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Wed, 8 Sep 2021 14:14:53 +0000 Subject: [PATCH] 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 Run-TryBot: Michael Munday Reviewed-by: Cherry Mui TryBot-Result: Go Bot --- test/codegen/issue48054.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/codegen/issue48054.go b/test/codegen/issue48054.go index 6ef37e945232b..1f3a041044274 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"