solidity/test/libsolidity/semanticTests/libraries/library_stray_values.sol
2023-05-11 10:56:55 -05:00

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