mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
295 B
Solidity
19 lines
295 B
Solidity
==== Source: A ====
|
|
error E(uint);
|
|
==== Source: B ====
|
|
import "A" as Error;
|
|
|
|
contract C {
|
|
function f() public {
|
|
try this.f() {
|
|
|
|
} catch Error.E(uint x) {
|
|
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// ----
|
|
// ParserError 2314: (B:106-107): Expected '(' but got '.'
|