aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue32723.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue32723.go')
-rw-r--r--test/fixedbugs/issue32723.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fixedbugs/issue32723.go b/test/fixedbugs/issue32723.go
index 7d9e403fc0..850334d702 100644
--- a/test/fixedbugs/issue32723.go
+++ b/test/fixedbugs/issue32723.go
@@ -9,14 +9,14 @@
package p
const x = 1i
-const y = 1i < 2i // ERROR "invalid operation: .*not defined on untyped complex"
-const z = x < 2i // ERROR "invalid operation: .*not defined on untyped complex"
+const y = 1i < 2i // ERROR "invalid operation: .*not defined on untyped complex|non-ordered type"
+const z = x < 2i // ERROR "invalid operation: .*not defined on untyped complex|non-ordered type"
func f() {
- _ = 1i < 2i // ERROR "invalid operation: .*not defined on untyped complex"
- _ = 1i < 2 // ERROR "invalid operation: .*not defined on untyped complex"
- _ = 1 < 2i // ERROR "invalid operation: .*not defined on untyped complex"
+ _ = 1i < 2i // ERROR "invalid operation: .*not defined on untyped complex|non-ordered type"
+ _ = 1i < 2 // ERROR "invalid operation: .*not defined on untyped complex|non-ordered type"
+ _ = 1 < 2i // ERROR "invalid operation: .*not defined on untyped complex|non-ordered type"
c := 1i
- _ = c < 2i // ERROR "invalid operation: .*not defined on complex128"
+ _ = c < 2i // ERROR "invalid operation: .*not defined on complex128|non-ordered type"
}