diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-04 17:42:05 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-04 17:42:05 +0800 |
commit | 8202d512e0bd4e6b4a19ed483afff288514e75bd (patch) | |
tree | 126d4afb677ecd531532573f22be95090145f48f /test/libsolidity/syntaxTests/nameAndTypeResolution/498_msg_gas_deprecated.sol | |
parent | 533d5d4b1cc4374decc704de8c86ad4cef6214fc (diff) | |
download | dexon-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/nameAndTypeResolution/498_msg_gas_deprecated.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/498_msg_gas_deprecated.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/498_msg_gas_deprecated.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/498_msg_gas_deprecated.sol index d917b840..5efecd22 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/498_msg_gas_deprecated.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/498_msg_gas_deprecated.sol @@ -2,4 +2,4 @@ contract C { function f() public view returns (uint256 val) { return msg.gas; } } // ---- -// Warning: (73-80): "msg.gas" has been deprecated in favor of "gasleft()" +// TypeError: (73-80): "msg.gas" has been deprecated in favor of "gasleft()" |