mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
change reflect test to avoid bug132
R=gri DELTA=20 (17 added, 0 deleted, 3 changed) OCL=33793 CL=33802
This commit is contained in:
parent
8c253bcae5
commit
92543daff1
1 changed files with 20 additions and 3 deletions
|
|
@ -841,8 +841,17 @@ type FTest struct {
|
||||||
value int;
|
value int;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type D1 struct {
|
||||||
|
d int;
|
||||||
|
}
|
||||||
|
type D2 struct {
|
||||||
|
d int;
|
||||||
|
}
|
||||||
|
|
||||||
type S0 struct {
|
type S0 struct {
|
||||||
a, b, c, d, d int;
|
a, b, c int;
|
||||||
|
D1;
|
||||||
|
D2;
|
||||||
}
|
}
|
||||||
|
|
||||||
type S1 struct {
|
type S1 struct {
|
||||||
|
|
@ -855,11 +864,19 @@ type S2 struct {
|
||||||
*S1;
|
*S1;
|
||||||
}
|
}
|
||||||
|
|
||||||
type S3 struct {
|
type S1x struct {
|
||||||
S1;
|
S1;
|
||||||
|
}
|
||||||
|
|
||||||
|
type S1y struct {
|
||||||
|
S1;
|
||||||
|
}
|
||||||
|
|
||||||
|
type S3 struct {
|
||||||
|
S1x;
|
||||||
S2;
|
S2;
|
||||||
d, e int;
|
d, e int;
|
||||||
*S1;
|
*S1y;
|
||||||
}
|
}
|
||||||
|
|
||||||
type S4 struct {
|
type S4 struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue