diff options
Diffstat (limited to 'src/go/types/fixedbugs/issue26390.src')
-rw-r--r-- | src/go/types/fixedbugs/issue26390.src | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/go/types/fixedbugs/issue26390.src b/src/go/types/fixedbugs/issue26390.src new file mode 100644 index 0000000000..9e0101f581 --- /dev/null +++ b/src/go/types/fixedbugs/issue26390.src @@ -0,0 +1,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{} |