summaryrefslogtreecommitdiff
path: root/test-suite/failure/rewrite_in_hyp.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/rewrite_in_hyp.v')
-rw-r--r--test-suite/failure/rewrite_in_hyp.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/failure/rewrite_in_hyp.v b/test-suite/failure/rewrite_in_hyp.v
new file mode 100644
index 00000000..613d707c
--- /dev/null
+++ b/test-suite/failure/rewrite_in_hyp.v
@@ -0,0 +1,3 @@
+Goal forall (T1 T2 : Type) (f:T1 -> Prop) (x:T1) (H:T1=T2), f x -> 0=1.
+ intros T1 T2 f x H fx.
+ rewrite H in x.