solidity/test/libsolidity/smtCheckerTests/operators/slice_bytes.sol
2021-04-20 17:38:29 +02:00

10 lines
139 B
Solidity

contract C {
function f(bytes calldata b) external pure {
require(b.length > 10);
((b[:])[5]);
}
}
// ====
// SMTEngine: all
// ----