solidity/test/libsolidity/semanticTests/revertStrings/called_contract_has_code.sol
2020-02-10 11:57:20 -03:00

13 lines
312 B
Solidity

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