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

8 lines
173 B
Solidity

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