mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
242 B
Solidity
20 lines
242 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
|
||
|
contract C
|
||
|
{
|
||
|
address owner;
|
||
|
modifier m {
|
||
|
if (true)
|
||
|
owner = g();
|
||
|
_;
|
||
|
}
|
||
|
function f() m public {
|
||
|
}
|
||
|
function g() public pure returns (address) {
|
||
|
address a;
|
||
|
a = address(0);
|
||
|
return a;
|
||
|
}
|
||
|
}
|
||
|
// ----
|