aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/bound/bound_call.sol
blob: 281f19b431cf5bf9af44cec854d85090214aed8a (plain) (blame)
1
2
3
4
5
6
7
library D { function double(uint self) internal pure returns (uint) { return 2*self; } }
contract C {
    using D for uint;
    function f(uint a) public pure {
        a.double();
    }
}