solidity/test/libsolidity/syntaxTests/modifiers/function_modifier_invocation_local_variables.sol
2018-04-11 22:00:21 +02:00

5 lines
110 B
Solidity

contract B {
function f() mod(x) pure public { uint x = 7; }
modifier mod(uint a) { if (a > 0) _; }
}