mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			361 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			361 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    using {f, g} for uint;
 | 
						|
 | 
						|
    function f(uint) internal { }
 | 
						|
    function g(uint) public { }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 4167: (24-25): Only file-level functions and library functions can be bound to a type in a "using" statement
 | 
						|
// TypeError 4167: (27-28): Only file-level functions and library functions can be bound to a type in a "using" statement
 |