mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract modifier tests.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
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") _; }
|
||||
}
|
||||
Reference in New Issue
Block a user