solidity/test/libsolidity/smtCheckerTests/modifiers/modifier_inline_function_inside_branch.sol
2021-04-08 21:03:39 +02:00

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
// ----