1
0
mirror of https://github.com/golang/go synced 2024-11-23 06:30:06 -07:00
go/misc/cgo/testcshared
Ian Lance Taylor f70bd91435 cmd/cgo: use preprocessor macros to avoid prolog redefinitions
Avoid redefinition errors when a Go file uses a cgo comment to
There is no particularly good reason to do this, but there is also no
particularly good reason that it should fail.

Fixes #27019

Change-Id: Icd6f8197a89be4ee6b03ddae675667998a8b4189
Reviewed-on: https://go-review.googlesource.com/c/152079
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-12-01 05:30:16 +00:00
..
src cmd/cgo: use preprocessor macros to avoid prolog redefinitions 2018-12-01 05:30:16 +00:00
cshared_test.go cmd/cgo: use preprocessor macros to avoid prolog redefinitions 2018-12-01 05:30:16 +00:00
main0.c runtime: use hardware divider to improve performance 2017-04-11 12:25:55 +00:00
main1.c
main2.c misc/cgo/testcshared: use file descriptor 30 for TestUnexportedSymbols 2018-04-21 04:18:51 +00:00
main3.c
main4.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00
main5.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00