mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
15 lines
167 B
Go
15 lines
167 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func callRecover1Good() {
|
|
if recover() != nil {
|
|
fmt.Printf("recovered")
|
|
}
|
|
}
|
|
|
|
func fun1Good() {
|
|
defer callRecover1Good()
|
|
panic("1")
|
|
}
|