diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-03-27 22:00:33 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-03-27 22:49:41 +0800 |
commit | ebb12756adfe95ae694ed7e141890c6d47e8b7b4 (patch) | |
tree | b510bc4c73dedc9a3110a7b8ad2dc4c2bc64df2c /test/libsolidity/syntaxTests/empty_struct.sol | |
parent | b540ba527a70df440299de9c0bf44f9d11ac6ef6 (diff) | |
download | dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.tar dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.tar.gz dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.tar.bz2 dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.tar.lz dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.tar.xz dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.tar.zst dexon-solidity-ebb12756adfe95ae694ed7e141890c6d47e8b7b4.zip |
Still allow empty structs for non-0.5.0 mode
Diffstat (limited to 'test/libsolidity/syntaxTests/empty_struct.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/empty_struct.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/empty_struct.sol b/test/libsolidity/syntaxTests/empty_struct.sol index 87bc2ffe..dcced618 100644 --- a/test/libsolidity/syntaxTests/empty_struct.sol +++ b/test/libsolidity/syntaxTests/empty_struct.sol @@ -2,4 +2,4 @@ contract test { struct A {} } // ---- -// SyntaxError: Defining empty structs is disallowed. +// Warning: Defining empty structs is deprecated. |