From 43bda534102c95a85daddc64fb466eb8c88e2325 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Wed, 8 Aug 2018 14:46:17 +0200 Subject: Fixes issue where computing storage size for a number would take too long. Fixes #4673. --- test/libsolidity/syntaxTests/types/too_small_negative_numbers.sol | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/libsolidity/syntaxTests/types/too_small_negative_numbers.sol (limited to 'test') diff --git a/test/libsolidity/syntaxTests/types/too_small_negative_numbers.sol b/test/libsolidity/syntaxTests/types/too_small_negative_numbers.sol new file mode 100644 index 00000000..66bd9a8e --- /dev/null +++ b/test/libsolidity/syntaxTests/types/too_small_negative_numbers.sol @@ -0,0 +1,4 @@ +contract C { + fixed8x80 a = -1e-100; +} +// ---- -- cgit