solidity/test/libsolidity/smtCheckerTests/special/abi_encode_slice.sol
2020-10-01 11:52:02 +02:00

9 lines
266 B
Solidity

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