mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
334 B
Solidity
14 lines
334 B
Solidity
contract C {
|
|
function f() public {
|
|
try this.f() {
|
|
|
|
} catch (bytes memory) {
|
|
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: <byzantium
|
|
// ----
|
|
// TypeError 9908: (73-106): This catch clause type cannot be used on the selected EVM version (homestead). You need at least a Byzantium-compatible EVM or use `catch { ... }`.
|