solidity/test/cmdlineTests/model_checker_targets_underflow_chc/err

15 lines
258 B
Plaintext
Raw Normal View History

Warning: CHC: Underflow (resulting value less than 0) happens here.
Counterexample:
arr = []
a = 0x0
x = 0
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 0)
2021-03-31 15:31:23 +00:00
--> model_checker_targets_underflow_chc/input.sol:7:3:
|
2021-03-31 15:31:23 +00:00
7 | --x;
| ^^^