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(uint x);
|
|
function f() public returns (uint, uint) {
|
|
try this.f() {
|
|
|
|
} catch E() {
|
|
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// ----
|
|
// TypeError 4873: (115-137): Expected 1 parameters for error "E" but got 0.
|