solidity/test/libsolidity/semanticTests/revertStrings/called_contract_has_code.sol

13 lines
321 B
Solidity

contract C {
function f() external {}
function g() external {
C c = C(address(0x0000000000000000000000000000000000000000000000000000000000000000));
c.f();
}
}
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// ----
// g() -> FAILURE, hex"08c379a0", 0x20, 37, "Target contract does not contain", " code"