go/src/runtime/testdata
Ian Lance Taylor 1ed0d129e9 runtime: testprogcgo: don't call exported Go functions directly from Go
Instead route through a C function, to avoid declaration conflicts
between the declaration needed in the cgo comment and the declaration
generated by cgo in _cgo_export.h.

This is not something user code will ever do, so no need to make it
work in cgo.

Fixes #46502

Change-Id: I1bfffdc76ef8ea63e3829871298d0774157957a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/327309
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-12 16:07:12 +00:00
..
testfaketime
testprog runtime: don't run TestCrashDumpsAllThreads in parallel 2021-04-22 00:34:25 +00:00
testprogcgo runtime: testprogcgo: don't call exported Go functions directly from Go 2021-06-12 16:07:12 +00:00
testprognet
testwinlib
testwinlibsignal runtime: wait for Go runtime to initialize in Windows signal test 2021-05-21 13:21:00 +00:00
testwinsignal