mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			259 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			259 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| function f(uint8 x) pure returns (uint) {
 | |
|     return x;
 | |
| }
 | |
| function f(int8 storage x) pure returns (int) {
 | |
|     return x[0];
 | |
| }
 | |
| using {f} for uint8;
 | |
| using {f} for int;
 | |
| // ----
 | |
| // DeclarationError 9589: (132-133): Identifier is not a function name or not unique.
 |