runtime: defer statement not executed during panicking #43939
This program should run successfully: https://play.golang.org/p/rms3jZGZcAQ
It does run successfully with gccgo, but it fails with cmd/compile. The problem is the deferred function containing "panic(4)" is never executed.
Found with mdempsky/deferfuzz.
The text was updated successfully, but these errors were encountered: