diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-03 00:58:27 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-05 18:18:04 +0800 |
commit | c633c0eacba12e940b12c6ff58b5c6c55dc0122c (patch) | |
tree | 9b54278c28df1c2fb97916c9ec7e263faea1b97d /test/libsolidity/ViewPureChecker.cpp | |
parent | 5982869e94965e48ec680fd32e6f80b8211fc34c (diff) | |
download | dexon-solidity-c633c0eacba12e940b12c6ff58b5c6c55dc0122c.tar.gz dexon-solidity-c633c0eacba12e940b12c6ff58b5c6c55dc0122c.tar.zst dexon-solidity-c633c0eacba12e940b12c6ff58b5c6c55dc0122c.zip |
Move msg.gas to global function gasleft(). Closes #2971.
Diffstat (limited to 'test/libsolidity/ViewPureChecker.cpp')
-rw-r--r-- | test/libsolidity/ViewPureChecker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/ViewPureChecker.cpp b/test/libsolidity/ViewPureChecker.cpp index 2599ca28..609a0154 100644 --- a/test/libsolidity/ViewPureChecker.cpp +++ b/test/libsolidity/ViewPureChecker.cpp @@ -109,6 +109,7 @@ BOOST_AUTO_TEST_CASE(environment_access) "block.difficulty", "block.number", "block.gaslimit", + "gasleft()", "msg.gas", "msg.value", "msg.sender", |