Choose contracts to be analyzed by the SMTChecker

This commit is contained in:
Leonardo Alt
2021-04-21 10:34:14 +02:00
parent c3f639b355
commit dd1865873e
79 changed files with 1068 additions and 24 deletions
@@ -0,0 +1 @@
--model-checker-engine all --model-checker-contracts model_checker_contracts_inexistent_source/A.sol:A
@@ -0,0 +1 @@
Warning: Requested source "model_checker_contracts_inexistent_source/A.sol" does not exist.
@@ -0,0 +1 @@
0
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract B {
function f(uint x) public pure {
assert(x > 0);
}
}
contract A is B {
function g(uint y) public pure {
assert(y > 0);
}
}