diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/empty_struct.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/empty_struct.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/empty_struct.sol b/test/libsolidity/syntaxTests/empty_struct.sol new file mode 100644 index 00000000..12655309 --- /dev/null +++ b/test/libsolidity/syntaxTests/empty_struct.sol @@ -0,0 +1,5 @@ +contract test { + struct A {} +} +// ---- +// Warning: (17-28): Defining empty structs is deprecated. |