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-07-13 18:48:00 +00:00
|
|
|
// Warning 6328: (116-132): Assertion violation happens here
|