aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ViewPureChecker.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-06 03:11:37 +0800
committerGitHub <noreply@github.com>2018-03-06 03:11:37 +0800
commit3793aa405b9326c7269ed001344d721ae05629e8 (patch)
tree2657e731bf0f2a6c608ffefcdb3d5731b3e77fe0 /test/libsolidity/ViewPureChecker.cpp
parentf190b274313131bbc939815a00d49dcd2c3de10d (diff)
parent2213f9946b34a6e8f5604a6b821d31788dcee08b (diff)
downloaddexon-solidity-3793aa405b9326c7269ed001344d721ae05629e8.tar.gz
dexon-solidity-3793aa405b9326c7269ed001344d721ae05629e8.tar.zst
dexon-solidity-3793aa405b9326c7269ed001344d721ae05629e8.zip
Merge pull request #3643 from ethereum/gasleft
Move msg.gas to global function gasleft(). Closes #2971.
Diffstat (limited to 'test/libsolidity/ViewPureChecker.cpp')
-rw-r--r--test/libsolidity/ViewPureChecker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/ViewPureChecker.cpp b/test/libsolidity/ViewPureChecker.cpp
index e6a5cfd0..ed4cf792 100644
--- a/test/libsolidity/ViewPureChecker.cpp
+++ b/test/libsolidity/ViewPureChecker.cpp
@@ -111,6 +111,7 @@ BOOST_AUTO_TEST_CASE(environment_access)
"block.difficulty",
"block.number",
"block.gaslimit",
+ "gasleft()",
"msg.gas",
"msg.value",
"msg.sender",