solidity/test/libsolidity/smtCheckerTests/functions/function_call_state_var_init.sol

13 lines
220 B
Solidity
Raw Normal View History

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