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

8 lines
159 B
Solidity

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