solidity/test/libsolidity/syntaxTests/errors/duplicate.sol

23 lines
266 B
Solidity
Raw Normal View History

==== 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();
}
}
// ----