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

8 lines
173 B
Solidity

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