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

8 lines
130 B
Solidity

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