mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
265 B
Solidity
20 lines
265 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
uint x;
|
|
address owner;
|
|
|
|
modifier onlyOwner {
|
|
if (msg.sender == owner) _;
|
|
}
|
|
|
|
function f() public onlyOwner {
|
|
}
|
|
|
|
function g(uint y) public {
|
|
y = 1;
|
|
if (y > x) f();
|
|
}
|
|
}
|