mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add isoltest option to ignore OS
This commit is contained in:
@@ -2,13 +2,17 @@ contract C {
|
||||
function g(address payable i) public {
|
||||
require(address(this).balance == 100);
|
||||
i.call{value: 10}("");
|
||||
// Disabled due to Spacer nondeterminism
|
||||
//assert(address(this).balance == 90); // should hold
|
||||
// Disabled due to Spacer nondeterminism
|
||||
//assert(address(this).balance == 100); // should fail
|
||||
assert(address(this).balance == 90); // should hold
|
||||
assert(address(this).balance == 100); // should fail
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// SMTEngine: all
|
||||
// SMTIgnoreOS: macos
|
||||
// ----
|
||||
// Warning 9302: (96-117): Return value of low-level calls not used.
|
||||
// Warning 1218: (175-211): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 6328: (121-156): CHC: Assertion violation might happen here.
|
||||
// Warning 6328: (175-211): CHC: Assertion violation might happen here.
|
||||
// Warning 4661: (121-156): BMC: Assertion violation happens here.
|
||||
// Warning 4661: (175-211): BMC: Assertion violation happens here.
|
||||
|
||||
Reference in New Issue
Block a user