aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-02 08:38:04 +0200
committerPierre-Marie Pédrot2018-10-02 08:38:04 +0200
commit1bde8c0912ed1129e71ffe20299ac89299492ba5 (patch)
tree233f39e5a2b34e78f2b157373a307635b0f632f9 /test-suite
parente53309b2a3c3c1d63b2c5a3cda17765042a9f6c7 (diff)
parentef3fa51c12c450781facb61f54f465a77a359f83 (diff)
Merge PR #7522: [ocaml] Update required OCaml version to 4.05.0
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/coqchk/cumulativity.v42
1 files changed, 18 insertions, 24 deletions
diff --git a/test-suite/coqchk/cumulativity.v b/test-suite/coqchk/cumulativity.v
index 034684054d..c3f6bebcbe 100644
--- a/test-suite/coqchk/cumulativity.v
+++ b/test-suite/coqchk/cumulativity.v
@@ -27,41 +27,35 @@ End ListLower.
Lemma LowerL_Lem@{i j|j<i+} (A : Type@{j}) (l : List@{i} A) : l = LowerL@{j i} l.
Proof. reflexivity. Qed.
-(*
-I disable these tests because cqochk can't process them when compiled with
- ocaml-4.02.3+32bit and camlp5-4.16 which is the case for Travis!
- I have added this file (including the commented parts below) in
- test-suite/success/cumulativity.v which doesn't run coqchk on them.
-*)
-(* Inductive Tp := tp : Type -> Tp. *)
+Inductive Tp := tp : Type -> Tp.
-(* Section TpLift. *)
-(* Universe i j. *)
+Section TpLift.
-(* Constraint i < j. *)
+ Universe i j.
-(* Definition LiftTp : Tp@{i} -> Tp@{j} := fun x => x. *)
+ Constraint i < j.
-(* End TpLift. *)
+ Definition LiftTp : Tp@{i} -> Tp@{j} := fun x => x.
-(* Lemma LiftC_Lem (t : Tp) : LiftTp t = t. *)
-(* Proof. reflexivity. Qed. *)
+End TpLift.
-(* Section TpLower. *)
-(* Universe i j. *)
+Lemma LiftC_Lem (t : Tp) : LiftTp t = t.
+Proof. reflexivity. Qed.
-(* Constraint i < j. *)
+Section TpLower.
+ Universe i j.
-(* Fail Definition LowerTp : Tp@{j} -> Tp@{i} := fun x => x. *)
+ Constraint i < j.
-(* End TpLower. *)
+ Fail Definition LowerTp : Tp@{j} -> Tp@{i} := fun x => x.
+End TpLower.
-(* Section subtyping_test. *)
-(* Universe i j. *)
-(* Constraint i < j. *)
+Section subtyping_test.
+ Universe i j.
+ Constraint i < j.
-(* Inductive TP2 := tp2 : Type@{i} -> Type@{j} -> TP2. *)
+ Inductive TP2 := tp2 : Type@{i} -> Type@{j} -> TP2.
-(* End subtyping_test. *)
+End subtyping_test.