cmd/compile/internal/syntax: better error message for incorrect if/switch header
Fixes #23664. Change-Id: Ic0637e9f896b2fc6502dfbab2d1c4de3c62c0bd2 Reviewed-on: https://go-review.googlesource.com/104616Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Robert Griesemer <gri@golang.org>
Showing
test/fixedbugs/issue23664.go
0 → 100644
Please
register
or
sign in
to comment