Skip to content

Commit

Permalink
test/codegen: fix package name for test case
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mundaym committed Sep 8, 2021
1 parent 1da6468 commit 8214257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/codegen/issue48054.go
Expand Up @@ -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"
Expand Down

0 comments on commit 8214257

Please sign in to comment.