bug-1845436.js (362B)
1 // |jit-test| --setpref=wasm_test_serialization=true 2 3 // Test that serialization doesn't create a forward reference to the third 4 // struct when serializing the reference to the first struct, which is 5 // structurally identical to the first struct. 6 wasmEvalText(`(module 7 (type (;0;) (struct)) 8 (type (;2;) (struct (field (ref 0)))) 9 (type (;3;) (struct)) 10 )`);