mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
update command line tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Warning: BMC: Assertion violation happens here.
|
||||
--> model_checker_engine_bmc/input.sol:6:3:
|
||||
--> model_checker_engine_bmc/input.sol:5:3:
|
||||
|
|
||||
6 | assert(x > 0);
|
||||
5 | assert(x > 0);
|
||||
| ^^^^^^^^^^^^^
|
||||
Note: Counterexample:
|
||||
x = 0
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >=0.0;
|
||||
pragma experimental SMTChecker;
|
||||
contract test {
|
||||
function f(uint x) public pure {
|
||||
assert(x > 0);
|
||||
|
||||
Reference in New Issue
Block a user