solidity/test/libsolidity/smtCheckerTests/special/abi_encode_slice.sol

10 lines
352 B
Solidity
Raw Normal View History

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.