summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4366.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4366.v')
-rw-r--r--test-suite/bugs/closed/4366.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4366.v b/test-suite/bugs/closed/4366.v
new file mode 100644
index 00000000..6a5e9a40
--- /dev/null
+++ b/test-suite/bugs/closed/4366.v
@@ -0,0 +1,15 @@
+Fixpoint stupid (n : nat) : unit :=
+match n with
+| 0 => tt
+| S n =>
+ let () := stupid n in
+ let () := stupid n in
+ tt
+end.
+
+Goal True.
+Proof.
+pose (v := stupid 24).
+Timeout 2 vm_compute in v.
+exact I.
+Qed.