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

14 lines
230 B
Solidity

library L {
function f() public returns (uint) { return 7; }
}
contract C {
function f() public payable returns (uint) {
return L.f();
}
}
// ====
// compileToEwasm: false
// ----
// library: L
// f(): 27 -> 7