diff options
author | Rhett Aultman <roadriverrail@gmail.com> | 2016-12-22 03:45:34 +0800 |
---|---|---|
committer | Rhett Aultman <rhett.aultman@meraki.net> | 2017-01-17 01:32:58 +0800 |
commit | a7f8a1986a9b3997c75cfc84235e567d2fa9aab4 (patch) | |
tree | c4701bcb86a5b8eb859cfefd5f4f64b6f58a5373 /test | |
parent | 5a2331a9f6615e58f4d10d266870daaaf05deb6b (diff) | |
download | dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.gz dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.bz2 dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.lz dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.xz dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.tar.zst dexon-solidity-a7f8a1986a9b3997c75cfc84235e567d2fa9aab4.zip |
Revert "Move clashing libraries to common source in test"
This reverts commit c4a9ca5cfe7a8b4ba9d2d84392c57d5eefacd1f7.
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/Imports.cpp | 3 |
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()); } |