solidity/test/libsolidity/syntaxTests/iceRegressionTests/recursive_struct_memory.sol

14 lines
406 B
Solidity
Raw Normal View History

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.