From 076c0754ea8e37f20ba28c25864053f129176081 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sat, 31 Mar 2018 00:27:01 +0100 Subject: Update tests for empty structs --- .../specialFunctions/types_with_unspecified_encoding_structs.sol | 1 + .../specialFunctions/types_with_unspecified_encoding_types.sol | 1 + 2 files changed, 2 insertions(+) (limited to 'test/libsolidity/syntaxTests') 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. -- cgit