cmd/gc: fix escape analysis bug.
It used to not mark parameters as escaping if only one of the fields it points to leaks out of the function. This causes problems when importing from another package. Fixes #4964. R=rsc, lvd, dvyukov, daniel.morsing CC=golang-dev https://golang.org/cl/7648045
Showing
test/fixedbugs/issue4964.go
0 → 100644
Please register or sign in to comment