solidity/test/libsolidity/syntaxTests/visibility/external_library_function.sol
2018-03-13 17:18:46 +01:00

15 lines
180 B
Solidity

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