aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/min.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/min.go')
-rw-r--r--test/typeparam/min.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeparam/min.go b/test/typeparam/min.go
index 6e28c062a8..d6c65d68b7 100644
--- a/test/typeparam/min.go
+++ b/test/typeparam/min.go
@@ -11,7 +11,7 @@ import (
)
type Ordered interface {
- type int, int64, float64, string
+ ~int | ~int64 | ~float64 | ~string
}
func min[T Ordered](x, y T) T {