aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/583_abi_encode_packed_with_rational_number_constant.sol
blob: 6be591f6d0a3655c01286ae1ba54a35e5d560e1a (plain) (blame)
1
2
3
4
5
contract C {
    function f() pure public { abi.encodePacked(0/1); }
}
// ----
// TypeError: (61-64): Cannot perform packed encoding for a literal. Please convert it to an explicit type first.