solidity/test/libsolidity/syntaxTests/using/library_non_free_function.sol
2022-03-14 12:33:44 +01:00

14 lines
204 B
Solidity

library L {
function id(uint x) internal pure returns(uint) {
return x;
}
}
contract C {
using {L.id} for uint;
function f(uint x) external pure {
x.id();
}
}
// ----