github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app35-library_handling/multi-lib.sol (about)

     1  pragma solidity >=0.0.0;
     2  
     3  library basicMath {
     4  	function add(uint x, uint y) public pure returns (uint z) {
     5  		z = x + y;
     6  	}
     7  
     8  	function subtract(uint x, uint y) public pure returns (uint z) {
     9  		z = x - y;
    10  	}
    11  }
    12  
    13  library intStructs {
    14  	struct intStruct {
    15  		uint x;
    16  		uint y;
    17  	}
    18  }