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

7 lines
168 B
Solidity
Raw Normal View History

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