solidity/test/libsolidity/syntaxTests/tight_packing_literals.sol

9 lines
259 B
Solidity
Raw Normal View History

2018-03-21 13:45:32 +00:00
contract C {
function k() pure public returns (bytes) {
return abi.encodePacked(1);
}
}
// ----
2018-05-23 13:39:26 +00:00
// Warning: (92-93): The type of "int_const 1" was inferred as uint8. This is probably not desired. Use an explicit type to silence this warning.