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

8 lines
168 B
Solidity

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