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

15 lines
169 B
Solidity

library L {
function f() internal returns (uint) {
return 3;
}
}
contract C {
function foo() public returns (uint) {
return (L.f)();
}
}
// ----
// foo() -> 3