aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/empty_struct_050.sol
blob: 886f1f838c0d0dbb118b840d9d09e4c0340ad63f (plain) (tree)
1
2
3
4
5
6




                             
                                                              
pragma experimental "v0.5.0";
contract test {
    struct A {}
}
// ----
// SyntaxError: (47-58): Defining empty structs is disallowed.