aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-07-04 17:42:05 +0800
committerLeonardo Alt <leo@ethereum.org>2018-07-04 17:42:05 +0800
commit8202d512e0bd4e6b4a19ed483afff288514e75bd (patch)
tree126d4afb677ecd531532573f22be95090145f48f /test/libsolidity/SolidityEndToEndTest.cpp
parent533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff)
downloaddexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.gz
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.zst
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.zip
Enforcing error on msg.gas and block.blockhash()
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index 9e6aa43d..9622de8c 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -1856,7 +1856,7 @@ BOOST_AUTO_TEST_CASE(uncalled_blockhash)
contract C {
function f() public view returns (bytes32)
{
- return (block.blockhash)(block.number - 1);
+ return (blockhash)(block.number - 1);
}
}
)";