mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			403 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			403 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
==== 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' |