Source file test/fixedbugs/issue31959.dir/main.go
1 // run 2 3 // Copyright 2019 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. 6 7 // Check import package contains type alias in function 8 // with the same name with an export type not panic 9 10 package main 11 12 import ( 13 "fmt" 14 15 "./a" 16 ) 17 18 func main() { 19 fmt.Println(a.T{}) 20 a.F() 21 } 22