aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/260_library_memory_struct.sol
blob: 20d8afa56862976d686689e3d51410c164af5f16 (plain) (tree)
1
2
3
4
5
6
7
8


                                 
                                             


                                                                                                              
                                                                         
pragma experimental ABIEncoderV2;
library c {
    struct S { uint x; }
    function f() public returns (S memory) {}
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
// Warning: (75-116): Function state mutability can be restricted to pure