aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-03-31 07:55:47 +0800
committerGitHub <noreply@github.com>2018-03-31 07:55:47 +0800
commitbe261ed519e472af071f0b70acfbc277a5861a20 (patch)
treeb9d03602f874e7e53124e3f5300a9501b022d5b9
parentacd6ec0d033e883e992893a9bfe3a39066d02ce9 (diff)
parent076c0754ea8e37f20ba28c25864053f129176081 (diff)
downloaddexon-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.sol1
-rw-r--r--test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_types.sol1
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.