]> Cypherpunks repositories - gostls13.git/commit
test: add a test for gccgo bug #32901
authorCherry Zhang <cherryyz@google.com>
Tue, 2 Jul 2019 19:36:59 +0000 (15:36 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 3 Jul 2019 14:12:22 +0000 (14:12 +0000)
commit1c1e517005786daeca0e77f2be6769e9b8e1f5a5
tree681e807542c2b53dfd9295502b145793b3f05eee
parente2fdce9f16fa70af061f3b9cccdcecb4d795d484
test: add a test for gccgo bug #32901

This CL adds a test for gccgo bug #32901: not all the type
descriptors are registered and thus deduplicated with types
created by reflection. It needs a few levels of indirect imports
to trigger this bug.

Updates #32901.

Change-Id: Idbd89bedd63fea746769f2687f3f31c9767e5ec0
Reviewed-on: https://go-review.googlesource.com/c/go/+/184718
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/fixedbugs/issue32901.dir/a.go [new file with mode: 0644]
test/fixedbugs/issue32901.dir/b.go [new file with mode: 0644]
test/fixedbugs/issue32901.dir/c.go [new file with mode: 0644]
test/fixedbugs/issue32901.dir/main.go [new file with mode: 0644]
test/fixedbugs/issue32901.go [new file with mode: 0644]