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

9 lines
201 B
Solidity

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