solidity/test/libsolidity/smtCheckerTests/operators/index_access_for_bytes.sol

11 lines
332 B
Solidity

pragma experimental SMTChecker;
contract C {
bytes20 x;
function f(bytes16 b) public view {
b[uint8(x[2])];
}
}
// ----
// Warning 7989: (116-120): Assertion checker does not yet support index accessing fixed bytes.
// Warning 7989: (108-122): Assertion checker does not yet support index accessing fixed bytes.