]> Cypherpunks repositories - gostls13.git/commit
go/internal/gccgoimporter: test case for issue 30628
authorThan McIntosh <thanm@google.com>
Wed, 6 Mar 2019 14:56:03 +0000 (09:56 -0500)
committerThan McIntosh <thanm@google.com>
Wed, 6 Mar 2019 20:50:13 +0000 (20:50 +0000)
commit88d719f8092c250f3575cc8e136090b3db65ee15
treefe622b7361123de62221aab3ff1734253209febe
parent05b3db24c1a48e995ac1f3103a2be9463fac0f96
go/internal/gccgoimporter: test case for issue 30628

Test case for a panic/crash in gccgoimporter caused by incorrect gccgo
export data emission. Note that the *.gox file checked in contains the
correct export data; the main intent of the test is to make sure that
gccgo produces the right export data when run on the Go source.

Updates #30628

Change-Id: I29c0c17b81a43f92ff64fbfcdc58fdb46a5be370
Reviewed-on: https://go-review.googlesource.com/c/go/+/165739
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/go/internal/gccgoimporter/importer_test.go
src/go/internal/gccgoimporter/testdata/issue30628.go [new file with mode: 0644]
src/go/internal/gccgoimporter/testdata/issue30628.gox [new file with mode: 0644]