Move more parser tests to syntax tests

This commit is contained in:
Alex Beregszaszi
2018-05-22 13:25:04 +02:00
parent e97f9b6ba8
commit 31fa6a24df
55 changed files with 458 additions and 642 deletions
@@ -0,0 +1,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