mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
275 B
Solidity
9 lines
275 B
Solidity
contract C {
|
|
function f() pure public {
|
|
C c;
|
|
c.delegatecall;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (65-79): Member "delegatecall" not found or not visible after argument-dependent lookup in contract C. Use "address(c).delegatecall" to access this address member.
|