blob: a79c22d9a16e1a869ecb169c30ba8558cc64f1b2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| skip-if: !wasmGcEnabled(); --wasm-test-serialization
// Test that serialization doesn't create a forward reference to the third
// struct when serializing the reference to the first struct, which is
// structurally identical to the first struct.
wasmEvalText(`(module
(type (;0;) (struct))
(type (;2;) (struct (field (ref 0))))
(type (;3;) (struct))
)`);
|