solidity/test/libsolidity/syntaxTests/structs/recursion/struct_definition_directly_recursive.sol
2018-04-10 14:08:22 +02:00

9 lines
156 B
Solidity

contract Test {
struct MyStructName {
address addr;
MyStructName x;
}
}
// ----
// TypeError: (20-93): Recursive struct definition.