summaryrefslogtreecommitdiff
path: root/test/typeswitch3.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeswitch3.go')
-rw-r--r--test/typeswitch3.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeswitch3.go b/test/typeswitch3.go
index 5475a8a6d..287e32e71 100644
--- a/test/typeswitch3.go
+++ b/test/typeswitch3.go
@@ -36,7 +36,7 @@ func main(){
}
// Issue 2827.
- switch _ := r.(type) { // ERROR "invalid variable name _"
+ switch _ := r.(type) { // ERROR "invalid variable name _|no new variables"
}
}