Add unit test suites (#3490)

This commit is contained in:
Zhang, Yi
2024-06-04 11:24:27 +08:00
committed by GitHub
parent 0a80cc4e94
commit 380cd7b0e7
194 changed files with 14104 additions and 34 deletions

View File

@ -0,0 +1,35 @@
(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 null array
drop
local.get 1
ref.cast i31
drop
)
)