1
0
mirror of https://github.com/golang/go synced 2024-11-20 01:14:40 -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. // license that can be found in the LICENSE file.
// +build amd64 // +build amd64
// +build ignore // +build vet_test
package main
TEXT ·arg1(SB),0,$0-2 TEXT ·arg1(SB),0,$0-2
MOVB x+0(FP), AX MOVB x+0(FP), AX

View File

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

View File

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