mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
5 lines
192 B
Solidity
5 lines
192 B
Solidity
|
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.
|