solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/546_warn_about_address_members_on_contract_delegatecall.sol
2018-07-17 16:38:36 +01:00

8 lines
268 B
Solidity

contract C {
function f() view public {
this.delegatecall;
}
}
// ----
// TypeError: (52-69): Member "delegatecall" not found or not visible after argument-dependent lookup in contract C. Use "address(this).delegatecall" to access this address member.