]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test: make test work with -linkmode=internal
authorRuss Cox <rsc@golang.org>
Fri, 12 Jul 2013 03:24:35 +0000 (23:24 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 12 Jul 2013 03:24:35 +0000 (23:24 -0400)
commit41fd4f988ce2297ea6d2bf7755e753638a8cf33a
treee8fa533c8d627713c9c11344009f927ad5dd442f
parentd6d83c918c5847bbdbaf8c9de101e9ca32535df8
misc/cgo/test: make test work with -linkmode=internal

The static func named thread in issue5337.go's C snippet
conflicts with the static func named thread in issue3350.go's C snippet.
I don't know why (they're both static) but I also don't care,
because -linkmode=internal only needs to be able to handle
the cgo in the standard library, and it does.

Change the test to avoid this problem.

Fixes build (after run.bash is fixed to detect the breakage).

R=minux.ma
TBR=minux.ma
CC=golang-dev
https://golang.org/cl/11201043
misc/cgo/test/issue5337.go