The gc compiler only gives an error about an unused label if
it has not given any errors in an earlier pass. Remove all
unused labels in this test because they don't test anything
useful and they cause gccgo to give unexpected errors.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
12580044
} // ERROR "missing return"
func _() int {
-L:
print(1)
if x == nil {
panic(2)
} // ERROR "missing return"
func _() int {
-L:
if x == nil {
panic(2)
} else if x == 1 {
} // ERROR "missing return"
var _ = func() int {
-L:
print(1)
if x == nil {
panic(2)
} // ERROR "missing return"
var _ = func() int {
-L:
if x == nil {
panic(2)
} else if x == 1 {