aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-18 23:06:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-20 01:31:07 +0800
commita17059573fe2ffce115b5368e798a87ce07dc1cd (patch)
treef4ed43e75f6e1af91159811f570f26b4b6ead818 /test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol
parent4189b6b03dfcbcccacb17e4eeed4eaf6cd653002 (diff)
downloaddexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.tar
dexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.tar.gz
dexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.tar.bz2
dexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.tar.lz
dexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.tar.xz
dexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.tar.zst
dexon-solidity-a17059573fe2ffce115b5368e798a87ce07dc1cd.zip
Disallow raw callcode (was deprecated in 0.4.12)
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol
index 9ab6fb0c..3c1e0280 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/551_warn_about_address_members_on_non_this_contract_callcode.sol
@@ -6,4 +6,4 @@ contract C {
}
// ----
// Warning: (65-75): Using contract member "callcode" inherited from the address type is deprecated. Convert the contract to "address" type to access the member, for example use "address(contract).callcode" instead.
-// Warning: (65-75): "callcode" has been deprecated in favour of "delegatecall".
+// TypeError: (65-75): "callcode" has been deprecated in favour of "delegatecall".