aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-03-31 07:27:01 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-03-31 07:27:01 +0800
commit076c0754ea8e37f20ba28c25864053f129176081 (patch)
treeb9d03602f874e7e53124e3f5300a9501b022d5b9 /test/libsolidity
parentacd6ec0d033e883e992893a9bfe3a39066d02ce9 (diff)
downloaddexon-solidity-076c0754ea8e37f20ba28c25864053f129176081.tar.gz
dexon-solidity-076c0754ea8e37f20ba28c25864053f129176081.tar.zst
dexon-solidity-076c0754ea8e37f20ba28c25864053f129176081.zip
Update tests for empty structs
Diffstat (limited to 'test/libsolidity')
-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.