Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous

This commit is contained in:
vlad
2023-01-20 20:05:36 +01:00
committed by Kamil Śliwak
parent 7fbd36855d
commit 484ee8a621
57 changed files with 1794 additions and 183 deletions
@@ -0,0 +1,11 @@
==== Source: A ====
contract test {
string memory a;
}
==== Source: B ====
contract test {
string calldata a;
}
// ----
// ParserError 2314: (A:27-33): Expected identifier but got 'memory'
// ParserError 2314: (B:27-35): Expected identifier but got 'calldata'