2020-08-18 17:25:36 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
function f(bool b1, bool b2) public pure {
|
|
|
|
uint c = b1 ? 3 : (b2 ? 2 : 1);
|
|
|
|
assert(c > 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-09-25 17:09:06 +00:00
|
|
|
// Warning 6328: (141-154): CHC: Assertion violation happens here.
|