mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
351 B
Solidity
15 lines
351 B
Solidity
contract c {
|
|
bytes data;
|
|
|
|
function test() public returns (bytes memory) {
|
|
for (uint256 i = 0; i < 33; i++) data.push(0x03);
|
|
for (uint256 j = 0; j < 4; j++) data.pop();
|
|
return data;
|
|
}
|
|
}
|
|
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000
|