1
0
mirror of https://github.com/golang/go synced 2024-11-24 07:20:02 -07:00
go/misc/cgo/test/issue9400
Ian Lance Taylor 29673a4be6 misc/cgo/test: avoid duplicate definition with gccgo
Current versions of gccgo issue a duplicate definition error when both
a definition and an empty declaration occur. Use build tags to avoid
that case for the issue9400 subdirectory.

Change-Id: I18517af87bab05e9ca43f2f295459cf34347c317
Reviewed-on: https://go-review.googlesource.com/119896
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-06-20 02:52:44 +00:00
..
asm_386.s
asm_amd64x.s
asm_arm64.s
asm_arm.s
asm_mips64x.s
asm_mipsx.s
asm_ppc64x.s
asm_s390x.s
gccgo.go misc/cgo/test: avoid duplicate definition with gccgo 2018-06-20 02:52:44 +00:00
stubs.go misc/cgo/test: avoid duplicate definition with gccgo 2018-06-20 02:52:44 +00:00