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

9 lines
163 B
Solidity
Raw Normal View History

contract C {
function f(bytes calldata data) external pure returns (bytes memory) {
return abi.encode(bytes(data[:32]));
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----