solidity/test/libsolidity/smtCheckerTests/operators/index_access_for_bytes.sol
2019-11-08 17:29:40 +01:00

11 lines
322 B
Solidity

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.