summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4284.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4284.v')
-rw-r--r--test-suite/bugs/closed/4284.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4284.v b/test-suite/bugs/closed/4284.v
new file mode 100644
index 00000000..0fff3026
--- /dev/null
+++ b/test-suite/bugs/closed/4284.v
@@ -0,0 +1,6 @@
+Set Primitive Projections.
+Record total2 { T: Type } ( P: T -> Type ) := tpair { pr1 : T; pr2 : P pr1 }.
+Theorem onefiber' {X : Type} (P : X -> Type) (x : X) : True.
+Proof.
+set (Q1 := total2 (fun f => pr1 P f = x)).
+set (f1:=fun q1 : Q1 => pr2 _ (pr1 _ q1)).