solidity/test/libsolidity/syntaxTests/imports/name_clash_in_import_contract_struct_2.sol
Daniel Kirchner fae0e10d26 Import tests.
2019-09-02 11:17:57 +02:00

8 lines
164 B
Solidity

==== Source: a ====
contract A {}
==== Source: b ====
import "a" as A;
struct A { uint256 a; }
// ----
// DeclarationError: (b:17-40): Identifier already declared.