solidity/test/libsolidity/syntaxTests/iceRegressionTests/recursive_struct_memory.sol
2020-04-16 16:42:12 +02:00

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.