big-resize.js (314B)
1 wasmFullPass(`(module 2 (memory 1 32768) 3 (func $test (result i32) 4 (if (i32.eq (memory.grow (i32.const 16384)) (i32.const -1)) (then (return (i32.const 42)))) 5 (i32.store (i32.const 1073807356) (i32.const 42)) 6 (i32.load (i32.const 1073807356))) 7 (export "run" (func $test)) 8 )`, 42);