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

9 lines
259 B
Solidity

contract C {
function k() pure public returns (bytes) {
return abi.encodePacked(1);
}
}
// ----
// 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.