github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/test/fixedbugs/issue3552.dir/one.go (about) 1 // Copyright 2012 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package one 6 7 // Issue 3552 8 9 type T struct { int } 10 11 func (t T) F() int { return t.int } 12 13 type U struct { int int } 14 15 func (u U) F() int { return u.int } 16 17 type lint int 18 19 type V struct { lint } 20 21 func (v V) F() int { return int(v.lint) } 22 23 type W struct { lint lint } 24 25 func (w W) F() int { return int(w.lint) } 26 27 28