aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_9432.v12
-rw-r--r--test-suite/ssr/autoclean.v4
-rw-r--r--test-suite/stm/arg_filter_1.v4
3 files changed, 18 insertions, 2 deletions
diff --git a/test-suite/bugs/closed/bug_9432.v b/test-suite/bugs/closed/bug_9432.v
new file mode 100644
index 0000000000..c85f8129ce
--- /dev/null
+++ b/test-suite/bugs/closed/bug_9432.v
@@ -0,0 +1,12 @@
+
+Record foo := { f : Type }.
+
+Fail Canonical Structure xx@{} := {| f := Type |}.
+
+Canonical Structure xx@{i} := {| f := Type@{i} |}.
+
+Fail Coercion cc@{} := fun x : Type => Build_foo x.
+
+Polymorphic Coercion cc@{i} := fun x : Type@{i} => Build_foo x.
+
+Coercion cc1@{i} := (cc@{i}).
diff --git a/test-suite/ssr/autoclean.v b/test-suite/ssr/autoclean.v
new file mode 100644
index 0000000000..db80a62259
--- /dev/null
+++ b/test-suite/ssr/autoclean.v
@@ -0,0 +1,4 @@
+Require Import ssreflect.
+
+Lemma view_disappears A B (AB : A -> B) : A -> False.
+Proof. move=> {}/(AB). have := AB. Abort.
diff --git a/test-suite/stm/arg_filter_1.v b/test-suite/stm/arg_filter_1.v
index 1cf66d6b43..ed87d67405 100644
--- a/test-suite/stm/arg_filter_1.v
+++ b/test-suite/stm/arg_filter_1.v
@@ -1,4 +1,4 @@
(* coq-prog-args: ("-async-proofs-tac-j" "1") *)
-Lemma foo : True.
-Proof. now auto. Qed.
+Lemma foo (A B : Prop) n : n + 0 = n /\ (A -> B -> A).
+Proof. split. par: now auto. Qed.