regress-1885829.js (426B)
1 // |jit-test| slow 2 3 const { test } = wasmEvalText(`(module 4 (type $t1 (array (mut i16))) 5 (type $t3 (sub (array (mut (ref $t1))))) 6 (func (export "test") 7 i32.const 0 8 i32.const 20 9 array.new $t1 10 i32.const 3 11 array.new $t3 12 i32.const 1 13 i32.const 2 14 i32.const 7 15 array.new $t1 16 array.set $t3 17 18 call 0 19 ) 20 )`).exports; 21 assertErrorMessage(() => test(), InternalError, /too much recursion/);