diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-03-31 07:55:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-31 07:55:47 +0800 |
commit | be261ed519e472af071f0b70acfbc277a5861a20 (patch) | |
tree | b9d03602f874e7e53124e3f5300a9501b022d5b9 | |
parent | acd6ec0d033e883e992893a9bfe3a39066d02ce9 (diff) | |
parent | 076c0754ea8e37f20ba28c25864053f129176081 (diff) | |
download | dexon-solidity-be261ed519e472af071f0b70acfbc277a5861a20.tar.gz dexon-solidity-be261ed519e472af071f0b70acfbc277a5861a20.tar.zst dexon-solidity-be261ed519e472af071f0b70acfbc277a5861a20.zip |
Merge pull request #3802 from ethereum/empty-structs
Update tests for empty structs
-rw-r--r-- | test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs.sol | 1 | ||||
-rw-r--r-- | test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_types.sol | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs.sol b/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs.sol index f27290fd..378155e9 100644 --- a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs.sol +++ b/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_structs.sol @@ -9,5 +9,6 @@ contract C { } } // ---- +// Warning: Defining empty structs is deprecated. // TypeError: This type cannot be encoded. // TypeError: This type cannot be encoded. diff --git a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_types.sol b/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_types.sol index 991b2237..6e073fd8 100644 --- a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_types.sol +++ b/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_types.sol @@ -9,6 +9,7 @@ contract C { } } // ---- +// Warning: Defining empty structs is deprecated. // TypeError: This type cannot be encoded. // TypeError: This type cannot be encoded. // TypeError: This type cannot be encoded. |