2020-05-17 18:20:17 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
uint[][] a;
|
|
|
|
function f(uint[] memory x, uint y) public {
|
|
|
|
a.push(x);
|
|
|
|
a[0].push(y);
|
2020-05-17 21:21:08 +00:00
|
|
|
a[0].pop();
|
2020-05-17 18:20:17 +00:00
|
|
|
assert(a[0][a[0].length - 1] == y);
|
|
|
|
}
|
|
|
|
}
|