solidity/test/libsolidity/smtCheckerTests/modifiers/modifier_inline_function_inside_branch.sol

20 lines
235 B
Solidity
Raw Normal View History

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;
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----