aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/404_read_returned_struct.sol
blob: 52d1bd13dc529584f1edb6548e16b6b525bdc31b (plain) (tree)
1
2
3
4
5
6
7





                                 
                                            




                                                                                                              
pragma experimental ABIEncoderV2;
contract A {
    struct T {
        int x;
        int y;
    }
    function g() public returns (T memory) {
        return this.g();
    }
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.