aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMatthieu Sozeau2016-08-19 15:04:04 +0200
committerMatthieu Sozeau2016-08-19 15:04:04 +0200
commit05f3192fedc354eb34ac10813bd7f1ffadfd4405 (patch)
tree67f1c62bf665d76ddc46aba734100e43132ddec4 /test-suite
parentdd9ee0c788556640f47a797814ffddba76ae540f (diff)
parent4c0c4b46993aeb31786d60cb278cfb317dea454e (diff)
Merge remote-tracking branch 'origin/pr/246' into v8.6
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/programequality.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/success/programequality.v b/test-suite/success/programequality.v
new file mode 100644
index 0000000000..414c572f81
--- /dev/null
+++ b/test-suite/success/programequality.v
@@ -0,0 +1,13 @@
+Require Import Program.
+
+Axiom t : nat -> Set.
+
+Goal forall (x y : nat) (e : x = y) (e' : x = y) (P : t y -> x = y -> Type)
+ (a : t x),
+ P (eq_rect _ _ a _ e) e'.
+Proof.
+ intros.
+ pi_eq_proofs. clear e.
+ destruct e'. simpl.
+ change (P a eq_refl).
+Abort. \ No newline at end of file