solidity/test/libsolidity/semanticTests/libraries/internal_call_bound_with_parentheses1.sol

17 lines
200 B
Solidity
Raw Normal View History

2020-12-01 11:02:29 +00:00
library L {
function f() internal returns (uint) {
return 3;
}
}
contract C {
function foo() public returns (uint) {
return (L.f)();
}
}
// ====
// compileViaYul: also
// ----
// foo() -> 3