aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/conversion/function_type_pure_view.sol
blob: 578ecdbd1c7073b7dcab6449a2529107c5f51c20 (plain) (tree)
1
2
3
4
5
6
7
8







                                                 
contract C {
    function h() pure external {
    }
    function f() view external returns (bytes4) {
        function () view external g = this.h;
        return g.selector;
    }
}