3 // Copyright 2016 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.
7 // Issue 13337: The Go compiler limited how deeply embedded types
8 // were searched for promoted fields and methods.
12 type S0 struct{ f int }
25 type S11 struct{ S10 }
26 type S12 struct{ S11 }
27 type S13 struct{ S12 }