mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
386 B
Solidity
20 lines
386 B
Solidity
==== Source: A ====
|
|
error E(uint);
|
|
==== Source: B ====
|
|
import "A" as X;
|
|
|
|
contract C {
|
|
function f() public {
|
|
try this.f() {
|
|
|
|
} catch X.E(uint x) {
|
|
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// ----
|
|
// UnimplementedFeatureError: NONE
|
|
// Warning 5667: (B:101-107): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|