aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityOptimizer.cpp
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-05-11 20:06:31 +0800
committerchriseth <chris@ethereum.org>2018-05-17 00:32:47 +0800
commitf5a49f679a1ec2b8aef466f41d85bbfa99b9a74a (patch)
treed500cf08243d96336ff9afd80bd1cdf1fe42fb2b /test/libsolidity/SolidityOptimizer.cpp
parent5c59d56335f3777b9e4ad595b66787ed563b26f1 (diff)
downloaddexon-solidity-f5a49f679a1ec2b8aef466f41d85bbfa99b9a74a.tar.gz
dexon-solidity-f5a49f679a1ec2b8aef466f41d85bbfa99b9a74a.tar.zst
dexon-solidity-f5a49f679a1ec2b8aef466f41d85bbfa99b9a74a.zip
Adjust tests.
Diffstat (limited to 'test/libsolidity/SolidityOptimizer.cpp')
-rw-r--r--test/libsolidity/SolidityOptimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp
index 5326feaf..184b7a8d 100644
--- a/test/libsolidity/SolidityOptimizer.cpp
+++ b/test/libsolidity/SolidityOptimizer.cpp
@@ -212,7 +212,7 @@ BOOST_AUTO_TEST_CASE(array_copy)
data1[i] = msg.data[i];
data2 = data1;
l = data2.length;
- y = uint(data2[x]);
+ y = uint(uint40(data2[x]));
}
}
)";