solidity/test/libsolidity/semanticTests/array/byte_array_pop_copy_long.sol
2020-03-19 14:42:25 +01:00

13 lines
320 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;
}
}
// ----
// test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000