You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts/panic.txt

22 lines
313 B
Plaintext

garble build
! exec ./main
cmp stderr main.stderr
-- go.mod --
module test/main
-- main.go --
package main
import _ "unsafe"
//go:linkname hideFatalErrors runtime.hideFatalErrors
func hideFatalErrors(hide bool)
func init() { hideFatalErrors(true) }
func main() {
panic("ya like jazz?")
}
-- main.stderr --