diff options
author | chriseth <chris@ethereum.org> | 2018-08-14 23:34:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 23:34:04 +0800 |
commit | 3f42118d1987ce99b6088d7076b32413373dd09c (patch) | |
tree | 8dc85185331dfebec1641993128a0a145ffb48f7 /test | |
parent | 34d3000dcc20cbcf0e0eb71c71fb43403a9db9d8 (diff) | |
parent | 43bda534102c95a85daddc64fb466eb8c88e2325 (diff) | |
download | dexon-solidity-3f42118d1987ce99b6088d7076b32413373dd09c.tar.gz dexon-solidity-3f42118d1987ce99b6088d7076b32413373dd09c.tar.zst dexon-solidity-3f42118d1987ce99b6088d7076b32413373dd09c.zip |
Merge pull request #4765 from ethereum/fixes-issue-4673
[WIP] Fixes issue where computing storage size for a number would take too long (or even cause a crash).
Diffstat (limited to 'test')
-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; +} +// ---- |