mirror of https://github.com/golang/go.git
parent
37b8eb4648
commit
7fbe486b1a
|
|
@ -121,9 +121,7 @@ func Test() {
|
|||
v.Insert(0, i1);
|
||||
v.Insert(0, i0);
|
||||
for i := 0; i < v.Len(); i++ {
|
||||
var x *I;
|
||||
x = v.At(i);
|
||||
print i, " ", x.val, "\n";
|
||||
print i, " ", v.At(i).(*I).val, "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue