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,16 @@
|
||||
==== Source: A ====
|
||||
uint indexed a;
|
||||
==== Source: B ====
|
||||
contract test {
|
||||
function f(uint a) public {
|
||||
uint indexed a;
|
||||
}
|
||||
}
|
||||
==== Source: C ====
|
||||
contract test {
|
||||
uint indexed a;
|
||||
}
|
||||
// ----
|
||||
// ParserError 2314: (A:5-12): Expected identifier but got 'indexed'
|
||||
// ParserError 2314: (B:61-68): Expected ';' but got 'indexed'
|
||||
// ParserError 2314: (C:25-32): Expected identifier but got 'indexed'
|
||||
Reference in New Issue
Block a user