aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Imports.cpp
diff options
context:
space:
mode:
authorChase McDermott <chasemcd1745@tamu.edu>2018-07-12 12:18:50 +0800
committerchriseth <chris@ethereum.org>2018-07-16 20:18:16 +0800
commitf48d01d0660747b0071e9d82a0261ce15bcc4c35 (patch)
treeaefd334e35456e79439c85bd1fe98f99a1ecf9a4 /test/libsolidity/Imports.cpp
parentc5ff173431741a4b12cac73c10e2132e3e4bb9d5 (diff)
downloaddexon-solidity-f48d01d0660747b0071e9d82a0261ce15bcc4c35.tar.gz
dexon-solidity-f48d01d0660747b0071e9d82a0261ce15bcc4c35.tar.zst
dexon-solidity-f48d01d0660747b0071e9d82a0261ce15bcc4c35.zip
Added default data locations to parameters for end to end tests.
Diffstat (limited to 'test/libsolidity/Imports.cpp')
-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 4b700ceb..df31ac40 100644
--- a/test/libsolidity/Imports.cpp
+++ b/test/libsolidity/Imports.cpp
@@ -138,7 +138,7 @@ BOOST_AUTO_TEST_CASE(complex_import)
CompilerStack c;
c.addSource("a", "contract A {} contract B {} contract C { struct S { uint a; } } pragma solidity >=0.0;");
c.addSource("b", "import \"a\" as x; import {B as b, C as c, C} from \"a\"; "
- "contract D is b { function f(c.S var1, x.C.S var2, C.S var3) internal {} } pragma solidity >=0.0;");
+ "contract D is b { function f(c.S memory var1, x.C.S memory var2, C.S memory var3) internal {} } pragma solidity >=0.0;");
c.setEVMVersion(dev::test::Options::get().evmVersion());
BOOST_CHECK(c.compile());
}