diff options
author | chriseth <c@ethdev.com> | 2017-01-20 18:47:20 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-20 19:00:16 +0800 |
commit | 7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad (patch) | |
tree | 1fbfc682094a366170500cf2987084c42e1c4834 /test | |
parent | da178d967fb66ca508d16bbe3feecf1962dcf6ef (diff) | |
download | dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.tar dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.tar.gz dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.tar.bz2 dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.tar.lz dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.tar.xz dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.tar.zst dexon-solidity-7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad.zip |
Reset AST node IDs between compilation runs.
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityTypes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/SolidityTypes.cpp b/test/libsolidity/SolidityTypes.cpp index b4c06873..2dcb9226 100644 --- a/test/libsolidity/SolidityTypes.cpp +++ b/test/libsolidity/SolidityTypes.cpp @@ -90,6 +90,7 @@ BOOST_AUTO_TEST_CASE(storage_layout_arrays) BOOST_AUTO_TEST_CASE(type_identifiers) { + ASTNode::resetID(); BOOST_CHECK_EQUAL(Type::fromElementaryTypeName("uint128")->identifier(), "t_uint128"); BOOST_CHECK_EQUAL(Type::fromElementaryTypeName("int128")->identifier(), "t_int128"); BOOST_CHECK_EQUAL(Type::fromElementaryTypeName("address")->identifier(), "t_address"); |