solidity/test/libsolidity/smtCheckerTests/typecast/slice_to_bytes.sol

14 lines
444 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C {
function f(bytes calldata x) external pure {
bytes(x[:18726387213]);
bytes(x[18726387213:]);
bytes(x[18726387213:111111111111111111]);
}
}
// ----
// Warning: (100-115): Assertion checker does not yet implement this expression.
// Warning: (126-141): Assertion checker does not yet implement this expression.
// Warning: (152-185): Assertion checker does not yet implement this expression.