1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
contract C { struct S { uint a; } function f() external returns (uint) { S memory s = S(1); return s.a; } } // ==== // compileToEwasm: also // compileViaYul: also // ---- // f() -> 1