1 // $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
9 type Element interface {
16 func (v *Vector) At(i int) Element {
25 func (s *TStruct) field(i int) *TStruct {
26 return s.fields.At(i).(*TStruct);
31 v.elem = make([]Element, 10);
38 if s.field(0).name != "hi" {