solidity/test/libsolidity/smtCheckerTests/types/storage_value_vars_2.sol

13 lines
210 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C
{
address a;
bool b;
uint c;
function f() public view {
assert(c > 0);
}
}
// ----
// Warning: (123-136): Assertion violation happens here