summaryrefslogtreecommitdiff
path: root/testsuite/tests/typing-objects-bugs/pr4824_ok.ml
blob: 114a5a7534d430def87d54b7c3e40adde81d9daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(* TEST
flags = " -w -a "
* setup-ocamlc.byte-build-env
** ocamlc.byte
*** check-ocamlc.byte-output
*)

module M :
   sig
     class x : int -> object method m : int end
  end
=
struct
  class x _ = object
    method m = 42
  end
end;;