Skip to content

Commit 3f87563

Browse files
mateusz834gopherbot
authored andcommitted
go/cfg: remove empty goto (without label) from test case
See CL 638395 Change-Id: Idf5495b0d8c70484f31d87c81ed00ef862a3a3f3 GitHub-Last-Rev: 7513ba9 GitHub-Pull-Request: #550 Reviewed-on: https://go-review.googlesource.com/c/tools/+/638435 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 9d9b0b6 commit 3f87563

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

go/cfg/cfg_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,6 @@ func f10(ch chan int) {
127127
}
128128
live()
129129
}
130-
131-
func f11() {
132-
goto; // mustn't crash
133-
dead()
134-
}
135-
136130
`
137131

138132
func TestDeadCode(t *testing.T) {

0 commit comments

Comments
 (0)