mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			254 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			254 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
library Lib { function m(uint x, uint y) public returns (uint) { return x * y; } }
 | 
						|
contract Test {
 | 
						|
    function f(uint x) public returns (uint) {
 | 
						|
        Lib;
 | 
						|
        Lib.m;
 | 
						|
        return x + 9;
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// library: Lib
 | 
						|
// f(uint256): 33 -> 0x2a
 |