wasm-micro-runtime/tests/unit/gc/wasm-apps/func1.wast
Zhenwei Jin 6d61e72344
Update unit test cases (#4214)
* Update gc unit test cases
* Update aot stack frame unit test cases
2025-04-25 14:43:24 +08:00

36 lines
700 B
Plaintext

(module
(type $t (func))
(func (export "test") (param structref i31ref)
(local funcref)
(local funcref)
(local funcref)
(local externref)
(local externref)
(local externref)
(local anyref)
(local eqref)
(local structref)
(local arrayref)
(local i31ref)
(local (ref null 0))
(local (ref null 0))
(local (ref null 0))
(local (ref null 1))
(local (ref null func))
(local (ref null 0))
(local (ref null extern))
(local (ref null any))
(local (ref null eq))
(local (ref null i31))
(local (ref null struct))
local.get 0
ref.test (ref array)
drop
local.get 1
ref.cast (ref i31)
drop
)
)