mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
406 B
Solidity
14 lines
406 B
Solidity
contract Test {
|
|
struct RecursiveStruct {
|
|
address payable d ;
|
|
mapping ( uint => address payable ) c ;
|
|
mapping ( uint => address payable [ ] ) d ;
|
|
}
|
|
function func ( ) private pure {
|
|
RecursiveStruct [ 1 ] memory val ;
|
|
val ;
|
|
}
|
|
}
|
|
// ----
|
|
// DeclarationError: (157-198): Identifier already declared.
|