blob: 3c1e02805350a028523b8009db0b13604492b82e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
contract C {
function f() pure public {
C c;
c.callcode;
}
}
// ----
// 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.
// TypeError: (65-75): "callcode" has been deprecated in favour of "delegatecall".
|