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

11 lines
322 B
Solidity
Raw Normal View History

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