solidity/test/libsolidity/smtCheckerTests/special/abi_encode_slice.sol
2021-04-08 21:03:39 +02:00

9 lines
163 B
Solidity

contract C {
function f(bytes calldata data) external pure returns (bytes memory) {
return abi.encode(bytes(data[:32]));
}
}
// ====
// SMTEngine: all
// ----