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

8 lines
178 B
Solidity

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