0
1
mirror of https://github.com/golang/go synced 2025-04-10 00:14:38 +00:00
Files
go/test/fixedbugs/issue7538b.go
Jan Ziak 907736e2fe cmd/gc: ignore blank (_) labels in label declarations
Fixes #7538

LGTM=rsc
R=gri, rsc
CC=golang-codereviews
https://golang.org/cl/85040045
2014-04-09 08:34:17 +02:00

14 lines
252 B
Go

// compile
// 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 7538: blank (_) labels handled incorrectly
package p
func f() {
_:
}