1
0
mirror of https://github.com/golang/go synced 2024-11-25 15:37:56 -07:00
go/test/fixedbugs/issue7023.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
274 B
Go

// compiledir
// 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.
// Issue 7023: corrupted export data when an inlined function
// contains a goto.
package ignored