aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue23587.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue23587.go')
-rw-r--r--test/fixedbugs/issue23587.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue23587.go b/test/fixedbugs/issue23587.go
index 2308992347..9040767f8c 100644
--- a/test/fixedbugs/issue23587.go
+++ b/test/fixedbugs/issue23587.go
@@ -7,7 +7,7 @@
package p
func _(x int) {
- _ = ~x // ERROR "unexpected ~"
+ _ = ~x // unary ~ permitted but the type-checker will complain
}
func _(x int) {