aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker/selector_complex2.sol
blob: d1543fed5f4fcf0328a5c284b8c93383314b9d84 (plain) (blame)
1
2
3
4
5
6
7
8
9
contract C {
        function f() payable public returns (C) {
        return this;
    }
    function g() pure public returns (bytes4) {
        C x = C(0x123);
        return x.f.selector;
    }
}