aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue19977.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue19977.go')
-rw-r--r--test/fixedbugs/issue19977.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue19977.go b/test/fixedbugs/issue19977.go
index 3db1dfd636..6e4a9cc422 100644
--- a/test/fixedbugs/issue19977.go
+++ b/test/fixedbugs/issue19977.go
@@ -9,7 +9,7 @@
package foo
func Foo() {
- switch x := a.(type) { // ERROR "undefined: a"
+ switch x := a.(type) { // ERROR "undefined: a|reference to undefined name .*a"
default:
_ = x
}