mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
173 B
Solidity
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.
|