mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			249 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			249 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    function f(uint) external {
 | 
						|
    }
 | 
						|
}
 | 
						|
interface I {
 | 
						|
    function f(uint) external;
 | 
						|
}
 | 
						|
 | 
						|
contract Test {
 | 
						|
    using C for uint;
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 4357: (127-128): Library name expected. If you want to attach a function, use '{...}'.
 |