Files
wazero/examples/testdata/trap.go
Takeshi Yoneda 26ee5eb735 Rename Go source dirs for Wasms to testdata. (#106)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
2021-12-31 17:33:03 +09:00

21 lines
180 B
Go

package main
func main() {}
//export cause_panic
func causePanic() {
one()
}
func one() {
two()
}
func two() {
three()
}
func three() {
panic("causing panic!!!!!!!!!!")
}