aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/issue50598.dir/a1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/issue50598.dir/a1.go')
-rw-r--r--test/typeparam/issue50598.dir/a1.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/typeparam/issue50598.dir/a1.go b/test/typeparam/issue50598.dir/a1.go
new file mode 100644
index 0000000000..0e63fac016
--- /dev/null
+++ b/test/typeparam/issue50598.dir/a1.go
@@ -0,0 +1,11 @@
+// Copyright 2022 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 a1
+
+import "a0"
+
+func New() int {
+ return a0.IntBuilder{}.New()
+}