mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			314 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			314 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract Foo {
 | |
|     function f(uint[] storage constant x, uint[] memory y) internal { }
 | |
| }
 | |
| // ----
 | |
| // DeclarationError 1788: (30-55): The "constant" keyword can only be used for state variables or variables at file level.
 | |
| // TypeError 9259: (30-55): Only constants of value type and byte array type are implemented.
 |