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

9 lines
201 B
Solidity
Raw Normal View History

2019-08-16 13:12:26 +00:00
==== 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.