mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
249 B
Plaintext
15 lines
249 B
Plaintext
Warning: CHC: Empty array "pop" happens here.
|
|
Counterexample:
|
|
arr = []
|
|
a = 0
|
|
x = 0
|
|
|
|
Transaction trace:
|
|
test.constructor()
|
|
State: arr = []
|
|
test.f(0, 1)
|
|
--> model_checker_targets_pop_empty_chc/input.sol:13:3:
|
|
|
|
|
13 | arr.pop();
|
|
| ^^^^^^^^^
|