solidity/test/libsolidity/syntaxTests/functionCalls/staticcall_on_homestead.sol

11 lines
247 B
Solidity
Raw Normal View History

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.