aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-12-22 01:44:21 +0800
committerchriseth <c@ethdev.com>2015-12-22 01:44:21 +0800
commit0e2fa39fadb9ccf45408e047c2b85d62847eb9f2 (patch)
treeb83ec2abf96e42c4729e42e512230f7028541828 /test/libsolidity
parent8fe89455b378acae43898185f6c9c0f67dba967e (diff)
downloaddexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.gz
dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.zst
dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.zip
Use paths instead of simple identifiers wherever possible.
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/Imports.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/Imports.cpp b/test/libsolidity/Imports.cpp
index 57239cb9..f0f67785 100644
--- a/test/libsolidity/Imports.cpp
+++ b/test/libsolidity/Imports.cpp
@@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE(simple_alias)
{
CompilerStack c;
c.addSource("a", "contract A {}");
- c.addSource("dir/a/b/c", "import \"../../.././a\" as x; contract B { function() { x.A r = x.A(20); } }");
+ c.addSource("dir/a/b/c", "import \"../../.././a\" as x; contract B is x.A { function() { x.A r = x.A(20); } }");
BOOST_CHECK(c.compile());
}