Robert Griesemer | 9a70f1f | 2018-06-12 22:33:41 -0700 | [diff] [blame] | 1 | // Copyright 2018 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 issue25301 | ||||
6 | |||||
7 | type ( | ||||
8 | A = interface { | ||||
9 | M() | ||||
10 | } | ||||
11 | T interface { | ||||
12 | A | ||||
13 | } | ||||
14 | S struct{} | ||||
15 | ) | ||||
16 | |||||
17 | func (S) M() { println("m") } |