/
/
opt
/
golang
/
1.19.4
/
src
/
runtime
/
testdata
/
testprogcgo
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.60
PHP 8.3.16
Dir:
/opt/golang/1.19.4/src/runtime/testdata/testprogcgo
Edit:
/opt/golang/1.19.4/src/runtime/testdata/testprogcgo/panic.go
package main // This program will crash. // We want to test unwinding from a cgo callback. /* void call_callback(void); */ import "C" func init() { register("PanicCallback", PanicCallback) } //export panic_callback func panic_callback() { var i *int *i = 42 } func PanicCallback() { C.call_callback() }
Ukuran: 312 B