diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-11 21:30:54 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-11 21:34:17 +0800 |
commit | e8e5e12ad29004714f04f3697a6fdfb7813602c1 (patch) | |
tree | 867c7167b2091148bf0fb5797a8e2320704dd263 /test/libsolidity | |
parent | f3abfa81ad3cdf3cfd0b9e1acf11329a617466a2 (diff) | |
download | dexon-solidity-e8e5e12ad29004714f04f3697a6fdfb7813602c1.tar.gz dexon-solidity-e8e5e12ad29004714f04f3697a6fdfb7813602c1.tar.zst dexon-solidity-e8e5e12ad29004714f04f3697a6fdfb7813602c1.zip |
Fix literals with exponents with mantissa of zero.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/syntaxTests/types/rational_number_exp_limit.sol | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/types/rational_number_exp_limit.sol b/test/libsolidity/syntaxTests/types/rational_number_exp_limit.sol index 6785f580..21712205 100644 --- a/test/libsolidity/syntaxTests/types/rational_number_exp_limit.sol +++ b/test/libsolidity/syntaxTests/types/rational_number_exp_limit.sol @@ -19,6 +19,7 @@ contract c { a = 1E1233 ** -1E1233; a = -1E1233 ** 1E1233; a = -1E1233 ** -1E1233; + a = 0E123456789; // fine } } // ---- |