]> Cypherpunks repositories - gostls13.git/commit
test: add a test for gccgo compiler bug of missing type descriptor
authorCherry Zhang <cherryyz@google.com>
Wed, 11 Dec 2019 16:44:08 +0000 (11:44 -0500)
committerCherry Zhang <cherryyz@google.com>
Wed, 11 Dec 2019 19:48:39 +0000 (19:48 +0000)
commit6f2b8347b148bb7aab1a89423d18ec0cbca6ffb4
tree6e7e7bc8f5e029fc03a851dfac2cca0afe714a86
parent9d78e75a0a55fd5ff3d68b4cba2f0395c4b5dc88
test: add a test for gccgo compiler bug of missing type descriptor

The gccgo compiler did not generate type descriptor for a pointer
to a type alias defined in another package, causing linking error.
The fix is CL 210787. This CL adds a test.

Updates #36085.

Change-Id: I3237c7fedb4d92fb2dc610ee2b88087f96dc2a1a
Reviewed-on: https://go-review.googlesource.com/c/go/+/210858
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/fixedbugs/issue36085.dir/a.go [new file with mode: 0644]
test/fixedbugs/issue36085.dir/b.go [new file with mode: 0644]
test/fixedbugs/issue36085.go [new file with mode: 0644]