blob: b56f6eebc50fe810aaf96bdaee1a8c5bdb2cb637 (
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
|
(* TEST_BELOW
(* Blank lines added here to preserve locations. *)
*)
module type Rejected1 = sig
type t1 := A
end;;
module type Rejected2 = sig
type t2 := { x : int }
end;;
module type RejectedM1 = sig
module M1 := sig end
end;;
module F(X : sig type t end) = struct
type t = X.t
end;;
module type RejectedM2 = sig
module M2 := F(struct type t = int end)
end;;
type t := int;;
module M := List;;
module type Rejected3 = sig
type t3 := int
and u3 = char
end;;
module type Rejected0 = sig
type nonrec t := int
end;;
(* TEST
toplevel;
*)
|