]> Cypherpunks repositories - gostls13.git/commit
cmd/link: move issue 43830 tests out of TestScript
authorIan Lance Taylor <iant@golang.org>
Tue, 1 Jun 2021 21:58:36 +0000 (14:58 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 2 Jun 2021 00:36:24 +0000 (00:36 +0000)
commit84c0e5d47f46f2e1a7ce92341477d9801f0ef777
tree6f18e76816edea4a99c39ca8001558048e0f4194
parentcae68700cc76d3118e470180a1cbeac616f3dfad
cmd/link: move issue 43830 tests out of TestScript

These tests pass or fail depending on the exact compiler version,
which the TestScript tests don't support. Rewrite into Go.

For #43830
For #46295

Change-Id: I91b61dfe329d518e461ee56f186f0e9b42858e77
Reviewed-on: https://go-review.googlesource.com/c/go/+/324049
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>
src/cmd/go/testdata/script/cgo_lto2_issue43830.txt [deleted file]
src/cmd/go/testdata/script/cgo_lto_issue43830.txt [deleted file]
src/cmd/link/cgo_test.go [new file with mode: 0644]