diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/empty_struct_050.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/empty_struct_050.sol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/empty_struct_050.sol b/test/libsolidity/syntaxTests/empty_struct_050.sol new file mode 100644 index 00000000..dbec93c4 --- /dev/null +++ b/test/libsolidity/syntaxTests/empty_struct_050.sol @@ -0,0 +1,6 @@ +pragma experimental "v0.5.0"; +contract test { + struct A {} +} +// ---- +// SyntaxError: Defining empty structs is disallowed. |