aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/alias-field-cycle.elna
blob: 8296c6954f8701f02d41808bd9abcc02cc08f0bb (plain)
1
2
3
4
5
6
7
8
module

type
  A = record (* @Error Type declaration forms a cycle: A -> A *)
    field: A
  end

end.