mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
184 B
Solidity
6 lines
184 B
Solidity
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") _; }
|
|
}
|