aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/173_constant_struct.sol
blob: 07bf0439cb856996802ff0ac3433ff7d50ab06cd (plain) (tree)
1
2
3
4
5
6





                                                                       
contract C {
    struct S { uint x; uint[] y; }
    S constant x = S(5, new uint[](4));
}
// ----
// TypeError: (52-86): Constants of non-value type not yet implemented.