solidity/test/libsolidity/syntaxTests/errors/duplicate.sol
2021-04-20 17:38:29 +02:00

23 lines
266 B
Solidity

==== Source: A ====
error E();
==== Source: B ====
error E();
==== Source: C ====
import "A" as A;
import "B" as B;
contract Test {
function f() public pure {
revert A.E();
}
function g() public pure {
revert B.E();
}
}
// ----