aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-12-08 23:15:35 +0800
committerGitHub <noreply@github.com>2016-12-08 23:15:35 +0800
commit84443eb56022cdb236425b99e253d0b142261372 (patch)
tree4521cefe6c045373644c20b485c0b31c2ee9edd5 /test/libsolidity/Assembly.cpp
parente7ff4ac810a44cf3bfd58ee4ff198f136f011e2d (diff)
parente7760417e83cf9e313c76cdd44f860aeec1b798c (diff)
downloaddexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.gz
dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.tar.zst
dexon-solidity-84443eb56022cdb236425b99e253d0b142261372.zip
Merge pull request #1351 from ethereum/truncate_bit
Truncate a boolean from calldata into one bit
Diffstat (limited to 'test/libsolidity/Assembly.cpp')
-rw-r--r--test/libsolidity/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp
index bdbe7dba..155dd5c9 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -116,7 +116,7 @@ BOOST_AUTO_TEST_CASE(location_test)
shared_ptr<string const> n = make_shared<string>("");
AssemblyItems items = compileContract(sourceCode);
vector<SourceLocation> locations =
- vector<SourceLocation>(16, SourceLocation(2, 75, n)) +
+ vector<SourceLocation>(18, SourceLocation(2, 75, n)) +
vector<SourceLocation>(27, SourceLocation(20, 72, n)) +
vector<SourceLocation>{SourceLocation(42, 51, n), SourceLocation(65, 67, n)} +
vector<SourceLocation>(2, SourceLocation(58, 67, n)) +