2018-05-17 07:04:39 +00:00
|
|
|
contract c {
|
|
|
|
modifier mod1(uint a) { if (msg.sender == address(a)) _; }
|
|
|
|
modifier mod2 { if (msg.sender == address(2)) _; }
|
2018-06-29 12:55:44 +00:00
|
|
|
function f() public mod1(7) mod2 { }
|
2018-05-17 07:04:39 +00:00
|
|
|
}
|
|
|
|
// ----
|