Skip to content

Commit

Permalink
go/cfg: remove empty goto (without label) from test case
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mateusz834 authored and gopherbot committed Jan 15, 2025
1 parent 9d9b0b6 commit 3f87563
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions go/cfg/cfg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@ func f10(ch chan int) {
}
live()
}
func f11() {
goto; // mustn't crash
dead()
}
`

func TestDeadCode(t *testing.T) {
Expand Down

0 comments on commit 3f87563

Please sign in to comment.