2019-07-01 14:16:39 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
uint x = f(2);
|
|
|
|
|
|
|
|
function f(uint y) internal pure returns (uint) {
|
|
|
|
assert(y > 1000);
|
|
|
|
return y;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-09-25 17:09:06 +00:00
|
|
|
// Warning 6328: (116-132): CHC: Assertion violation happens here.
|