diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-15 20:21:58 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-15 21:06:27 +0800 |
commit | b0a23fa77d4e5f16b3ab1a56000db45748a05838 (patch) | |
tree | bd5d78b7cb1001bde949cbc889054bff3a6c86eb /test/libsolidity/SolidityParser.cpp | |
parent | e923f27ea88601e8b62ef2c7d8be42ec23c5a849 (diff) | |
download | dexon-solidity-b0a23fa77d4e5f16b3ab1a56000db45748a05838.tar.gz dexon-solidity-b0a23fa77d4e5f16b3ab1a56000db45748a05838.tar.zst dexon-solidity-b0a23fa77d4e5f16b3ab1a56000db45748a05838.zip |
Add tests for fractional numbers in exponential notation
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index cfc76ae0..ffb4b6f2 100644 --- a/test/libsolidity/SolidityParser.cpp +++ b/test/libsolidity/SolidityParser.cpp @@ -1487,6 +1487,7 @@ BOOST_AUTO_TEST_CASE(scientific_notation) uint256 b = 2E10; uint256 c = 200e-2; uint256 d = 2E10 wei; + uint256 e = 2.5e10; } )"; BOOST_CHECK(successParse(text)); |