cmd/gc: fix segfault in isgoconst.
Variables declared with 'var' have no sym->def. Fixes #7794. LGTM=rsc R=golang-codereviews, bradfitz, rsc CC=golang-codereviews https://golang.org/cl/88360043
Showing
test/fixedbugs/issue7794.go
0 → 100644
Please
register
or
sign in
to comment