1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:26:11 -07:00
go/test/fixedbugs/issue7023.dir/a.go
Rémy Oudompheng f739dae7db cmd/gc: mark OGOTO as a statement for formatters.
Nodes of goto statements were corrupted when written
to export data.

Fixes #7023.

R=rsc, dave, minux.ma
CC=golang-codereviews
https://golang.org/cl/46190043
2014-01-10 01:33:24 +01:00

11 lines
201 B
Go

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package a
func Foo() {
goto bar
bar:
}