1// Copyright 2017 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 a 6 7import "go/build" 8 9type ( 10 Float64 = float64 11 Rune = rune 12) 13 14type ( 15 Int int 16 IntAlias = Int 17 IntAlias2 = IntAlias 18 S struct { 19 Int 20 IntAlias 21 IntAlias2 22 } 23) 24 25type ( 26 Context = build.Context 27) 28 29type ( 30 I1 interface { 31 M1(IntAlias2) Float64 32 M2() Context 33 } 34 35 I2 = interface { 36 M1(Int) float64 37 M2() build.Context 38 } 39) 40 41var i1 I1 42var i2 I2 = i1 43