Disallow empty structs

This commit is contained in:
Alex Beregszaszi
2018-03-27 15:49:41 +01:00
parent 62559cf127
commit b540ba527a
6 changed files with 17 additions and 2 deletions
@@ -0,0 +1,5 @@
contract test {
struct A {}
}
// ----
// SyntaxError: Defining empty structs is disallowed.