1
0
mirror of https://github.com/golang/go synced 2024-11-22 14:54:46 -07:00

cmd/vet: fix assembly test files

They should be build-tagged for vet_test not ignore,
and not have a Go package clause.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8016047
This commit is contained in:
Rob Pike 2013-03-27 16:29:12 -07:00
parent 5b3ff61be6
commit f3eaaa62a1
3 changed files with 3 additions and 9 deletions

View File

@ -3,9 +3,7 @@
// license that can be found in the LICENSE file.
// +build amd64
// +build ignore
package main
// +build vet_test
TEXT ·arg1(SB),0,$0-2
MOVB x+0(FP), AX

View File

@ -3,9 +3,7 @@
// license that can be found in the LICENSE file.
// +build 386
// +build ignore
package main
// +build vet_test
TEXT ·arg1(SB),0,$0-2
MOVB x+0(FP), AX

View File

@ -3,9 +3,7 @@
// license that can be found in the LICENSE file.
// +build arm
// +build ignore
package main
// +build vet_test
TEXT ·arg1(SB),0,$0-2
MOVB x+0(FP), AX