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

7 lines
163 B
Solidity
Raw Normal View History

2019-08-16 13:12:26 +00:00
==== Source: a ====
contract A {}
==== Source: b ====
import {A} from "a"; contract A {}
// ----
// DeclarationError 2333: (b:21-34): Identifier already declared.