Still allow empty structs for non-0.5.0 mode

This commit is contained in:
Alex Beregszaszi
2018-03-27 15:49:41 +01:00
parent b540ba527a
commit ebb12756ad
4 changed files with 16 additions and 3 deletions
@@ -0,0 +1,6 @@
pragma experimental "v0.5.0";
contract test {
struct A {}
}
// ----
// SyntaxError: Defining empty structs is disallowed.