Files
codeql/go/ql/test/query-tests/RedundantCode/RedundantRecover/RedundantRecover2Good.go
2022-05-20 10:07:19 -07:00

7 lines
76 B
Go

package main
func fun2Good() {
defer func() { recover() }()
panic("2")
}