aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorGuillaume Melquiond2019-07-25 13:51:51 +0200
committerGuillaume Melquiond2019-07-25 13:51:51 +0200
commit72029c8b00126f92c8f8e8d73e6c27b0b0a8b685 (patch)
tree4ac3f6473bfe707194c56491bbbb7c7d582eed57 /test-suite/bugs
parent3823ace92d92b2f5ee697ff156fe72d55217a921 (diff)
Mark primitives integer as able to participate in reductions (fixes #10560).
The documentation states: - Norm means the term is fully normalized and cannot create a redex when substituted - Cstr means the term is in head normal form and that it can create a redex when substituted (i.e. constructor, fix, lambda)
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/bug_10560.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_10560.v b/test-suite/bugs/closed/bug_10560.v
new file mode 100644
index 0000000000..a9a0949d9a
--- /dev/null
+++ b/test-suite/bugs/closed/bug_10560.v
@@ -0,0 +1,9 @@
+From Coq Require Import Int63.
+Open Scope int63_scope.
+
+Lemma foo :
+ let n := opp 0 in add n 0 = n.
+Proof.
+cbv.
+apply eq_refl.
+Qed.