Extract modifier tests.

This commit is contained in:
chriseth
2018-04-11 22:00:21 +02:00
parent 2ad1acaf72
commit 4e1ea0866d
15 changed files with 73 additions and 158 deletions
@@ -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") _; }
}