aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/visibility/external_library_function.sol
blob: 110e74dbd52bae0727a2842173b810ce11e46f9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
library L {
    function f(uint) pure external {}
}

contract C {
    using L for *;

    function f() public pure {
        L.f(2);
        uint x;
        x.f();
    }
}
// ----