solidity/test/libsolidity/syntaxTests/functionCalls/staticcall_on_homestead.sol
2020-11-05 10:30:09 +00:00

11 lines
247 B
Solidity

contract C {
function f() public {
(bool success, ) = address(10).staticcall{gas: 3}("");
success;
}
}
// ====
// EVMVersion: <byzantium
// ----
// TypeError 5052: (66-100): "staticcall" is not supported by the VM version.