mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
287 B
Solidity
14 lines
287 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;
|
|
}
|
|
}
|
|
// ====
|
|
// compileToEwasm: false
|
|
// ----
|
|
// library: Lib
|
|
// f(uint256): 33 -> 0x2a
|