aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/modifier_invocation.sol
blob: 6fa007c7d87ec8a30dff95c9a419fc741efbbb1b (plain) (blame)
1
2
3
4
5
6
contract c {
    modifier mod1(uint a) { if (msg.sender == address(a)) _; }
    modifier mod2 { if (msg.sender == address(2)) _; }
    function f() public mod1(7) mod2 { }
}
// ----