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
5package one
6
7// Issue 3552
8
9type T struct { int }
10
11func (t T) F() int { return t.int }
12
13type U struct { int int }
14
15func (u U) F() int { return u.int }
16
17type lint int
18
19type V struct { lint }
20
21func (v V) F() int { return int(v.lint) }
22
23type W struct { lint lint }
24
25func (w W) F() int { return int(w.lint) }
26
27
28
29