Initial commit: Go 1.23 release state
This commit is contained in:
8
test/typeparam/issue48094b.dir/a.go
Normal file
8
test/typeparam/issue48094b.dir/a.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2021 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.
|
||||
|
||||
package a
|
||||
|
||||
func F() { G(0) }
|
||||
func G[T any](t T) {}
|
||||
9
test/typeparam/issue48094b.dir/b.go
Normal file
9
test/typeparam/issue48094b.dir/b.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2021 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.
|
||||
|
||||
package b
|
||||
|
||||
import "./a"
|
||||
|
||||
func H() { a.F() }
|
||||
Reference in New Issue
Block a user