solidity/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol

10 lines
216 B
Solidity

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