solidity/test/libsolidity/smtCheckerTests/special/abi_encode_slice.sol
Alex Beregszaszi 6edfdff187 [SMTChecker] Do not warn on "abi" as an identifer
There is an approprate warning for the function call.
2020-09-24 13:57:42 +01:00

10 lines
352 B
Solidity

pragma experimental SMTChecker;
contract C {
function f(bytes calldata data) external pure returns (bytes memory) {
return abi.encode(bytes(data[:32]));
}
}
// ----
// Warning 2923: (143-152): Assertion checker does not yet implement this expression.
// Warning 4588: (126-154): Assertion checker does not yet implement this type of function call.