solidity/test/libsolidity/syntaxTests/imports/shadowing_via_import.sol

9 lines
206 B
Solidity

==== Source: a ====
library A {}
==== Source: b ====
library A {}
==== Source: c ====
import {A} from "./a"; import {A} from "./b";
// ----
// DeclarationError 2333: (c:31-32): Identifier already declared.