aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/modifiers/function_modifier_invocation_parameters.sol
blob: de2a8f48e9d3ed911b8dd78f29db99b3bcb96d45 (plain) (blame)
1
2
3
4
5
contract B {
    function f(uint8 a) mod1(a, true) mod2(r) pure public returns (bytes7 r) { }
    modifier mod1(uint a, bool b) { if (b) _; }
    modifier mod2(bytes7 a) { while (a == "1234567") _; }
}