aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/GasMeter.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-04 02:17:01 +0800
committerGitHub <noreply@github.com>2018-07-04 02:17:01 +0800
commit58aeffb45b206e8b55c3ae1cbc1f5a86157482fb (patch)
tree6402c116f6795df80955c21450c0a1e3a3aa5ead /test/libsolidity/GasMeter.cpp
parent96a04be6842a15bbad22fb67a6aab9a9e9130636 (diff)
parenta7fc8a996b666ecd0c90c8addb422ef640f8887c (diff)
downloaddexon-solidity-58aeffb45b206e8b55c3ae1cbc1f5a86157482fb.tar.gz
dexon-solidity-58aeffb45b206e8b55c3ae1cbc1f5a86157482fb.tar.zst
dexon-solidity-58aeffb45b206e8b55c3ae1cbc1f5a86157482fb.zip
Merge pull request #4413 from ethereum/dropConstantKeywordOnly
Drop constant keyword only
Diffstat (limited to 'test/libsolidity/GasMeter.cpp')
-rw-r--r--test/libsolidity/GasMeter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp
index d8954f83..a404c072 100644
--- a/test/libsolidity/GasMeter.cpp
+++ b/test/libsolidity/GasMeter.cpp
@@ -316,7 +316,7 @@ BOOST_AUTO_TEST_CASE(complex_control_flow)
// we previously considered. This of course reduces accuracy.
char const* sourceCode = R"(
contract log {
- function ln(int128 x) constant returns (int128 result) {
+ function ln(int128 x) pure returns (int128 result) {
int128 t = x / 256;
int128 y = 5545177;
x = t;