aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/empty_struct_050.sol
blob: dbec93c495ccacc0c2ee2c30d43cdb84ffa51417 (plain) (blame)
1
2
3
4
5
6
pragma experimental "v0.5.0";
contract test {
    struct A {}
}
// ----
// SyntaxError: Defining empty structs is disallowed.