mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
168 B
Solidity
8 lines
168 B
Solidity
|
==== Source: a ====
|
||
|
struct A { uint256 a; }
|
||
|
==== Source: b ====
|
||
|
import {A} from "a";
|
||
|
contract A {}
|
||
|
// ----
|
||
|
// DeclarationError: (b:21-34): Identifier already declared.
|