Skip to content

Commit

Permalink
Add test for ocaml#1223
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Feb 7, 2025
1 parent 1fd27ed commit 298f2e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/xref2/github_issue_1223.t/run.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This test is disabled because the bug is that it doesn't complete!

$ ocamlc -c -bin-annot test.mli
$ odoc compile test.cmti
$ odoc link test.odoc

13 changes: 13 additions & 0 deletions test/xref2/github_issue_1223.t/test.mli
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
(* can also be := *)
module type Fail = sig end

(* must be := *)
module type Monad := sig
(* must be := and the same name *)
module type Fail := Fail

include Fail
end

include Monad

0 comments on commit 298f2e2

Please sign in to comment.