aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhett Aultman <roadriverrail@gmail.com>2016-12-22 03:45:34 +0800
committerRhett Aultman <rhett.aultman@meraki.net>2017-01-17 01:32:58 +0800
commita7f8a1986a9b3997c75cfc84235e567d2fa9aab4 (patch)
treec4701bcb86a5b8eb859cfefd5f4f64b6f58a5373
parent5a2331a9f6615e58f4d10d266870daaaf05deb6b (diff)
downloaddexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.gz
dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.zst
dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.zip
Revert "Move clashing libraries to common source in test"
This reverts commit c4a9ca5cfe7a8b4ba9d2d84392c57d5eefacd1f7.
-rw-r--r--test/libsolidity/Imports.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/Imports.cpp b/test/libsolidity/Imports.cpp
index e01d2e90..56895fdc 100644
--- a/test/libsolidity/Imports.cpp
+++ b/test/libsolidity/Imports.cpp
@@ -104,7 +104,8 @@ BOOST_AUTO_TEST_CASE(simple_alias)
BOOST_AUTO_TEST_CASE(library_name_clash)
{
CompilerStack c;
- c.addSource("a", "library A {} library A {} pragma solidity >=0.0;");
+ c.addSource("a", "library A {} pragma solidity >=0.0;");
+ c.addSource("b", "library A {} pragma solidity >=0.0;");
BOOST_CHECK(!c.compile());
}