aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/specialFunctions
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/syntaxTests/specialFunctions
parent533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff)
downloaddexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.gz
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.bz2
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.lz
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.xz
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.tar.zst
dexon-solidity-8202d512e0bd4e6b4a19ed483afff288514e75bd.zip
Enforcing error on msg.gas and block.blockhash()
Diffstat (limited to 'test/libsolidity/syntaxTests/specialFunctions')
-rw-r--r--test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_internal_functions.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_internal_functions.sol b/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_internal_functions.sol
index b94a4391..a30e428a 100644
--- a/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_internal_functions.sol
+++ b/test/libsolidity/syntaxTests/specialFunctions/types_with_unspecified_encoding_internal_functions.sol
@@ -1,6 +1,6 @@
contract C {
function f() public pure {
- bytes32 h = keccak256(abi.encodePacked(keccak256, f, this.f.gas, block.blockhash));
+ bytes32 h = keccak256(abi.encodePacked(keccak256, f, this.f.gas, blockhash));
h;
}
}
@@ -8,4 +8,4 @@ contract C {
// TypeError: (91-100): This type cannot be encoded.
// TypeError: (102-103): This type cannot be encoded.
// TypeError: (105-115): This type cannot be encoded.
-// TypeError: (117-132): This type cannot be encoded.
+// TypeError: (117-126): This type cannot be encoded.