mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
266 B
Solidity
15 lines
266 B
Solidity
contract C {
|
|
error E();
|
|
function f() public returns (uint, uint) {
|
|
try this.f() {
|
|
|
|
} catch E(uint a) {
|
|
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// ----
|
|
// TypeError 4873: (109-137): Expected 0 parameters for error "E" but got 1.
|