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

14 lines
168 B
Solidity

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