aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/smoketest.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/smoketest.go')
-rw-r--r--test/typeparam/smoketest.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/typeparam/smoketest.go b/test/typeparam/smoketest.go
index eeda25964f..5243dc5c3c 100644
--- a/test/typeparam/smoketest.go
+++ b/test/typeparam/smoketest.go
@@ -9,9 +9,9 @@
package smoketest
// type parameters for functions
-func f1[P any]()
-func f2[P1, P2 any, P3 any]()
-func f3[P interface{}](x P, y T1[int])
+func f1[P any]() {}
+func f2[P1, P2 any, P3 any]() {}
+func f3[P interface{}](x P, y T1[int]) {}
// function instantiations
var _ = f1[int]