blob: cb2f298568bc91a73ac16003f53a83a973e7d582 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
contract c {
modifier mod1(uint a) { if (msg.sender == address(a)) _; }
modifier mod2 { if (msg.sender == address(2)) _; }
function f() mod1(7) mod2 { }
}
// ----
// Warning: (135-164): No visibility specified. Defaulting to "public".
// Warning: (135-164): Function state mutability can be restricted to view
|