solidity/test/libsolidity/syntaxTests/visibility/external_library_function.sol

15 lines
180 B
Solidity
Raw Normal View History

library L {
function f(uint) pure external {}
}
contract C {
using L for *;
function f() public pure {
L.f(2);
uint x;
x.f();
}
}
// ----