solidity/test/libsolidity/syntaxTests/modifiers/function_modifier_invocation_parameters.sol
2021-04-20 17:38:29 +02:00

7 lines
210 B
Solidity

contract B {
function f(uint8 a) mod1(a, true) mod2(r) pure public returns (bytes7 r) { }
modifier mod1(uint a, bool b) { if (b) _; }
modifier mod2(bytes7 a) { while (a == "1234567") _; }
}
// ----