solidity/test/libsolidity/syntaxTests/bound/bound_no_call.sol
2021-04-20 17:38:29 +02:00

9 lines
178 B
Solidity

library D { function double(uint self) public pure returns (uint) { return 2*self; } }
contract C {
using D for uint;
function f(uint a) public pure {
a.double;
}
}
// ----