]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcshared: add c-shared test with no exports
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Apr 2015 17:46:29 +0000 (10:46 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Apr 2015 20:50:23 +0000 (20:50 +0000)
commite589e08014d8f508e93a6c0061e9fa50248cbe78
treea4ee6c1f8b78d86372c53b2e69cf0b5b90752c1e
parenta608377545e95200a94040eff7b62b95c9ab41ed
misc/cgo/testcshared: add c-shared test with no exports

The purpose of this test is to make sure that -buildmode=c-shared
works even when the shared library can be built without invoking cgo.

Change-Id: Id6f95af755992b209aff770440ca9819b74113ab
Reviewed-on: https://go-review.googlesource.com/9166
Reviewed-by: David Crawshaw <crawshaw@golang.org>
misc/cgo/testcshared/main2.c [new file with mode: 0644]
misc/cgo/testcshared/src/libgo2/libgo2.go [new file with mode: 0644]
misc/cgo/testcshared/test.bash