solidity/test/libsolidity/syntaxTests/modifiers/function_modifier_invocation_local_variables.sol

5 lines
110 B
Solidity
Raw Normal View History

2018-03-16 11:45:12 +00:00
contract B {
function f() mod(x) pure public { uint x = 7; }
modifier mod(uint a) { if (a > 0) _; }
}