blob: ee90af82dbfe9ff3d07be5cbe70b27a605a13fe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
(* TEST
* toplevel
*)
(* This is a toplevel test to trigger toplevel specific hints *)
module Empty = struct end
type u = A
type v = B
module type S = sig end
let m = (module Empty:S)
module M = struct
type 'a t = X of 'a
end
let x =M.X (A,B,m);;
module type S = sig end
let m = (module Empty:S)
type u = A
type v = B
module M = struct
type 'a t = X of 'a
end
let y = M.X (A,B,m);;
x = y;;
type a = A
let a = A;;
type a = A
let b = A;;
type a = A
let c = A;;
a = b;;
a = c;;
b = c;;
exit 0;;
|