solidity/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
2018-06-25 17:17:18 +02:00

10 lines
202 B
Solidity

contract C {
function k() pure public returns (bytes) {
return abi.encodePacked(uint8(1));
}
function l() pure public returns (bytes) {
return abi.encode(1);
}
}
// ----