mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
235 B
Solidity
20 lines
235 B
Solidity
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;
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|