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

8 lines
178 B
Solidity
Raw Normal View History

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