This commit is contained in:
2026-07-12 12:33:46 -06:00
parent fdf3064665
commit 4522e455dd
6 changed files with 128 additions and 29 deletions
+6 -4
View File
@@ -1,11 +1,13 @@
(module
(type (sub (struct (field (mut i32)))))
(func
(param)
(result i32)
(local i32 i32 i32 i32 i32)
(result (ref eq))
(local (ref eq) (ref eq) (ref eq) (ref eq) (ref eq))
(i32.const 0)
ref.i31
(if
(result i32)
(then (i32.const 777))
(else (i32.const 555))))
(then (i32.const 777) ref.i31)
(else (i32.const 555) ref.i31)))
(export "main" (func 0)))