solidity/test/libsolidity/semanticTests/libraries/library_stray_values.sol
2022-05-19 20:23:28 +02:00

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