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

8 lines
173 B
Solidity
Raw Normal View History

2019-09-02 09:17:57 +00:00
==== Source: a ====
struct A { uint256 a; }
==== Source: b ====
import {A as b} from "a";
contract b {}
// ----
// DeclarationError: (b:26-39): Identifier already declared.