aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-01-04 18:47:11 +0800
committerchriseth <c@ethdev.com>2016-01-04 18:47:11 +0800
commite27bfa023d9aa398c3d0afcef6095082474e69fe (patch)
tree2f2d16900e78841ca6d7f983f227db5cc13cecd1 /test/libsolidity
parent6b711d0527823ff6287fe869579260bb27feacdd (diff)
parent0e2fa39fadb9ccf45408e047c2b85d62847eb9f2 (diff)
downloaddexon-solidity-e27bfa023d9aa398c3d0afcef6095082474e69fe.tar.gz
dexon-solidity-e27bfa023d9aa398c3d0afcef6095082474e69fe.tar.zst
dexon-solidity-e27bfa023d9aa398c3d0afcef6095082474e69fe.zip
Merge pull request #317 from chriseth/pathsEverywhere
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());
}