summaryrefslogtreecommitdiffstats
path: root/testsuite/tests/letrec/class_1.ml
blob: 93bcc807bc2d804a2298955681031472785b99dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(***********************************************************************)
(*                                                                     *)
(*                                OCaml                                *)
(*                                                                     *)
(*          Gabriel Scherer, projet Gallium, INRIA Rocquencourt        *)
(*                                                                     *)
(*  Copyright 2012 Institut National de Recherche en Informatique et   *)
(*  en Automatique.  All rights reserved.  This file is distributed    *)
(*  under the terms of the Q Public License version 1.0.               *)
(*                                                                     *)
(***********************************************************************)

(* class expression are compiled to recursive bindings *)
class test =
object
  method x = 1
end