aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/fixedbugs/issue26390.src
blob: 9e0101f5819b9c4fbbee387d56408a7a8f51e073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// stand-alone test to ensure case is triggered

package issue26390

type A = T

func (t *T) m() *A { return t }

type T struct{}