Add regression tests of BA issue cases (#3462)
This commit is contained in:
BIN
tests/regression/ba-issues/issues/issue-2787/sock_shutdown.wasm
Normal file
BIN
tests/regression/ba-issues/issues/issue-2787/sock_shutdown.wasm
Normal file
Binary file not shown.
@ -0,0 +1,17 @@
|
||||
(module
|
||||
(type (func))
|
||||
(type (func (param i32 i32) (result i32)))
|
||||
(type (func (param i32)))
|
||||
(import "wasi_snapshot_preview1" "sock_shutdown" (func $sock_shutdown (type 1)))
|
||||
(import "wasi_snapshot_preview1" "proc_exit" (func $proc_exit (type 2)))
|
||||
(func $_start
|
||||
(call $sock_shutdown
|
||||
(i32.const 3)
|
||||
(i32.const 3)
|
||||
)
|
||||
call $proc_exit
|
||||
)
|
||||
(memory 2)
|
||||
(export "memory" (memory 0))
|
||||
(export "_start" (func $_start))
|
||||
)
|
||||
Reference in New Issue
Block a user