]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test: avoid duplicate definition with gccgo
authorIan Lance Taylor <iant@golang.org>
Tue, 19 Jun 2018 23:55:19 +0000 (16:55 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 20 Jun 2018 02:52:44 +0000 (02:52 +0000)
commit29673a4be6770422774968a287e87bf7c8330497
tree3dcc7443882ff305ffaaad739e61c62e062beaef
parent65d55a13a92a3bbc2a3750fd3318d63bd3e664c9
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>
misc/cgo/test/issue9400/gccgo.go
misc/cgo/test/issue9400/stubs.go