aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/486_function_types_selector_3.sol
blob: d39fcc288cc5cced9e085d09ed0025e2f89abb1d (plain) (tree)
1
2
3
4
5
6
7
8
            
                                               




                          
                                                                                                                  
contract C {
    function f() public view returns (bytes4) {
        function () g;
        return g.selector;
    }
}
// ----
// TypeError: (99-109): Member "selector" not found or not visible after argument-dependent lookup in function ().