recursive_04.sol 205 B

12345678
  1. abstract contract Recursive {
  2. struct B { B[] b; }
  3. struct C { B[] b; C c; }
  4. }
  5. // ---- Expect: diagnostics ----
  6. // error: 3:12-13: struct 'C' has infinite size
  7. // note 3:23-26: recursive field 'c'