mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests due to nondeterminism
This commit is contained in:
@@ -13,29 +13,16 @@ contract C {
|
||||
}
|
||||
function f() public pure {
|
||||
// All of these should hold but the SMTChecker can't prove them.
|
||||
// Disabled because of Spacer nondet
|
||||
/*
|
||||
assert(g(0, 0) == 1);
|
||||
assert(g(0, 1) == 0);
|
||||
assert(g(1, 0) == 1);
|
||||
assert(g(2, 3) == 8);
|
||||
assert(g(3, 10) == 59049);
|
||||
*/
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// SMTEngine: all
|
||||
// ----
|
||||
// Warning 4281: (118-130): CHC: Division by zero might happen here.
|
||||
// Warning 4984: (134-148): CHC: Overflow (resulting value larger than 2**256 - 1) might happen here.
|
||||
// Warning 4984: (176-189): CHC: Overflow (resulting value larger than 2**256 - 1) might happen here.
|
||||
// Warning 6328: (430-450): CHC: Assertion violation might happen here.
|
||||
// Warning 6328: (454-474): CHC: Assertion violation might happen here.
|
||||
// Warning 6328: (478-498): CHC: Assertion violation might happen here.
|
||||
// Warning 6328: (502-527): CHC: Assertion violation might happen here.
|
||||
// Warning 2661: (134-148): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (176-189): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (134-148): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4661: (454-474): BMC: Assertion violation happens here.
|
||||
// Warning 2661: (134-148): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (176-189): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4661: (478-498): BMC: Assertion violation happens here.
|
||||
// Warning 2661: (134-148): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4661: (502-527): BMC: Assertion violation happens here.
|
||||
|
||||
Reference in New Issue
Block a user