aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/InlineAssembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-15 00:53:10 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-16 18:29:41 +0800
commit0fd73e58321468da4826672e8a196955a04c591c (patch)
tree2095506cac7505228dcf57dde45e24ea12fd14f0 /test/libsolidity/InlineAssembly.cpp
parent7a09860ec16af74df7617a41ec4a3a2f97d9266d (diff)
downloaddexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.tar
dexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.tar.gz
dexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.tar.bz2
dexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.tar.lz
dexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.tar.xz
dexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.tar.zst
dexon-solidity-0fd73e58321468da4826672e8a196955a04c591c.zip
Fix test.
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r--test/libsolidity/InlineAssembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index aae45177..332f749d 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -304,7 +304,7 @@ BOOST_AUTO_TEST_CASE(for_invalid_expression)
CHECK_PARSE_ERROR("{ for 1 1 {} {} }", ParserError, "Expected token LBrace got 'Number'");
CHECK_PARSE_ERROR("{ for {} 1 1 {} }", ParserError, "Expected token LBrace got 'Number'");
CHECK_PARSE_ERROR("{ for {} 1 {} 1 }", ParserError, "Expected token LBrace got 'Number'");
- CHECK_PARSE_ERROR("{ 1 2 for {} mul {} {} }", ParserError, "Instructions are not supported as conditions for the for statement.");
+ CHECK_PARSE_ERROR("{ for {} calldatasize {} {} }", ParserError, "Instructions are not supported as conditions for the for statement.");
CHECK_PARSE_ERROR("{ for {} mstore(1, 1) {} {} }", ParserError, "Instruction \"mstore\" not allowed in this context");
}