aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-11 13:45:23 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-11 13:45:23 +0200
commitb75d7f21a49bb7c2b7684a06ad3fae89b99e7a94 (patch)
tree0178bb45ed3fbef92f9aca887ea536ff497e2686 /test-suite
parente176622f715772cc0704dc860ffa18e85c36e250 (diff)
parentcc1212c3cfbd9c39cbe981210758c67cf9095be2 (diff)
Merge PR#373: A refined solution to the beta-iota discrepancies between 8.4 and 8.5/8.6 "refine"
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/5219.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5219.v b/test-suite/bugs/closed/5219.v
new file mode 100644
index 000000000..f7cec1a0c
--- /dev/null
+++ b/test-suite/bugs/closed/5219.v
@@ -0,0 +1,10 @@
+(* Test surgical use of beta-iota in the type of variables coming from
+ pattern-matching for refine *)
+
+Goal forall x : sigT (fun x => x = 1), True.
+ intro x; refine match x with
+ | existT _ x' e' => _
+ end.
+ lazymatch goal with
+ | [ H : _ = _ |- _ ] => idtac
+ end.