aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-10-18 17:22:21 +0800
committerGitHub <noreply@github.com>2017-10-18 17:22:21 +0800
commit4a9a986d8cf2e457ab1b36e20bcbefb714292a37 (patch)
tree82b6eb1132ecbf8c243ac2d796e891c7de8c53e3 /test/libsolidity/Assembly.cpp
parenta17996cdadc9e6e941ee7c85681ad3e30f9cf998 (diff)
parent7849b920cf3ba6502f8a45e0c35be6393392cc00 (diff)
downloaddexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.tar
dexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.tar.gz
dexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.tar.bz2
dexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.tar.lz
dexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.tar.xz
dexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.tar.zst
dexon-solidity-4a9a986d8cf2e457ab1b36e20bcbefb714292a37.zip
Merge pull request #3065 from ethereum/reject_truncated_selectors
Do not accept truncated function selectors.
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 56ac8cf5..358d3c72 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -119,7 +119,7 @@ BOOST_AUTO_TEST_CASE(location_test)
shared_ptr<string const> n = make_shared<string>("");
AssemblyItems items = compileContract(sourceCode);
vector<SourceLocation> locations =
- vector<SourceLocation>(18, SourceLocation(2, 75, n)) +
+ vector<SourceLocation>(24, SourceLocation(2, 75, n)) +
vector<SourceLocation>(32, SourceLocation(20, 72, n)) +
vector<SourceLocation>{SourceLocation(42, 51, n), SourceLocation(65, 67, n)} +
vector<SourceLocation>(2, SourceLocation(58, 67, n)) +