mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user