mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			180 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			180 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
library L {
 | 
						|
    function f(uint) pure external {}
 | 
						|
}
 | 
						|
 | 
						|
contract C {
 | 
						|
    using L for *;
 | 
						|
 | 
						|
    function f() public pure {
 | 
						|
        L.f(2);
 | 
						|
        uint x;
 | 
						|
        x.f();
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 |