test.wast 449 B

123456789101112131415161718192021
  1. (module
  2. (type (;0;) (func))
  3. (type (;1;) (func (result i64)))
  4. (type (;2;) (func (param i32 i32 i32) (result i32)))
  5. (func (;0;) (type 1) (result i64)
  6. i64.const 122
  7. i32.const 1
  8. i32.const 2147483647
  9. i32.const -1
  10. i32.const 1
  11. if (param i32 i32 i32) (result i32) ;; label = @1
  12. select
  13. else
  14. br 0 (;@1;)
  15. nop
  16. select
  17. end
  18. drop
  19. )
  20. (export "_start" (func 0))
  21. (export "to_test" (func 0)))