Fix ICE in FixedBytes IndexAccess

This commit is contained in:
Leonardo Alt
2019-11-08 17:29:40 +01:00
parent ed7be7b9c7
commit 5dacaf57bc
3 changed files with 20 additions and 0 deletions
@@ -0,0 +1,10 @@
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.