diff options
author | Christian Parpart <christian@parpart.family> | 2018-08-08 20:46:17 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-08-14 21:38:10 +0800 |
commit | 43bda534102c95a85daddc64fb466eb8c88e2325 (patch) | |
tree | 825f2366d2eb90ca0f6f154c45ed67e12a478dc4 /test/libsolidity | |
parent | 43db88b8363d73ee2f5ffa094ff506414261bd11 (diff) | |
download | dexon-solidity-43bda534102c95a85daddc64fb466eb8c88e2325.tar.gz dexon-solidity-43bda534102c95a85daddc64fb466eb8c88e2325.tar.zst dexon-solidity-43bda534102c95a85daddc64fb466eb8c88e2325.zip |
Fixes issue where computing storage size for a number would take too long.
Fixes #4673.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/syntaxTests/types/too_small_negative_numbers.sol | 4 |
1 files changed, 4 insertions, 0 deletions
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; +} +// ---- |