From: Russ Cox Date: Tue, 25 Aug 2009 00:04:12 +0000 (-0700) Subject: change reflect test to avoid bug132 X-Git-Tag: weekly.2009-11-06~778 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=92543daff17c64bfd0f945e827279b8f50940e8e;p=gostls13.git change reflect test to avoid bug132 R=gri DELTA=20 (17 added, 0 deleted, 3 changed) OCL=33793 CL=33802 --- diff --git a/src/pkg/reflect/all_test.go b/src/pkg/reflect/all_test.go index 6aa54e01ce..5f0211c6a5 100644 --- a/src/pkg/reflect/all_test.go +++ b/src/pkg/reflect/all_test.go @@ -841,8 +841,17 @@ type FTest struct { value int; } +type D1 struct { + d int; +} +type D2 struct { + d int; +} + type S0 struct { - a, b, c, d, d int; + a, b, c int; + D1; + D2; } type S1 struct { @@ -855,11 +864,19 @@ type S2 struct { *S1; } -type S3 struct { +type S1x struct { S1; +} + +type S1y struct { + S1; +} + +type S3 struct { + S1x; S2; d, e int; - *S1; + *S1y; } type S4 struct {