aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/070_struct_accessor_one_array_only.sol
blob: 6741a7fa760843782f86c809c0a215346d9e65ce (plain) (tree)
1
2
3
4
5
6





                                                                                            
contract test {
    struct Data { uint[15] m_array; }
    Data public data;
}
// ----
// TypeError: (58-74): Internal or recursive type is not allowed for public state variables.