// Tests that this will not end up using a "bytes0" type // (which would assert) pragma experimental ABIEncoderV2; contract C { function f() public pure returns (bytes memory, bytes memory) { return (abi.encode(""), abi.encodePacked("")); } } // ==== // compileViaYul: also // compileToEwasm: also // ---- // f() -> 0x40, 0xa0, 0x40, 0x20, 0x0, 0x0