mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Adding test witnessing that SMTChecker no longer crashes when producing CEX with arrays
This commit is contained in:
parent
0d7f9ae183
commit
de34fe8aa3
@ -0,0 +1,10 @@
|
|||||||
|
pragma experimental SMTChecker;
|
||||||
|
|
||||||
|
contract C {
|
||||||
|
function f(bytes calldata x, uint y) external pure {
|
||||||
|
x[8][0];
|
||||||
|
x[8][5*y];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// ----
|
||||||
|
// Warning 4984: (118-121): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
Loading…
Reference in New Issue
Block a user