aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-11-05 15:10:29 -0500
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-11-05 15:10:29 -0500
commitce6392e74fbe0edd5ebcaecb362fec5da9b4703b (patch)
tree5ad9cbbf1335e2f579372578f7c9ba069c3cd15e /test-suite
parent5cbb42e08a8032ada1788a0542a45177f798a6ac (diff)
Add test-suite file for #4273.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/4273.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4273.v b/test-suite/bugs/closed/4273.v
new file mode 100644
index 000000000..591ea4b5b
--- /dev/null
+++ b/test-suite/bugs/closed/4273.v
@@ -0,0 +1,9 @@
+
+
+Set Primitive Projections.
+Record total2 (P : nat -> Prop) := tpair { pr1 : nat; pr2 : P pr1 }.
+Theorem onefiber' (q : total2 (fun y => y = 0)) : True.
+Proof. assert (foo:=pr2 _ q). simpl in foo.
+ destruct foo. (* Error: q is used in conclusion. *) exact I. Qed.
+
+Print onefiber'. \ No newline at end of file