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