aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-02-26 17:22:41 +0100
committerPierre-Marie Pédrot2015-02-26 17:22:41 +0100
commitbc7d29e4c0f53d5c8e654157c4137c7e82910a7a (patch)
tree72ddb080c47bfc2462148c992fe4968991789586 /test-suite/bugs/closed
parent31846ce3bb4053a4fd121afd6aa8260b0c5dff18 (diff)
Test for bug #3298.
Diffstat (limited to 'test-suite/bugs/closed')
-rw-r--r--test-suite/bugs/closed/3298.v21
1 files changed, 21 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3298.v b/test-suite/bugs/closed/3298.v
new file mode 100644
index 0000000000..3a7de45670
--- /dev/null
+++ b/test-suite/bugs/closed/3298.v
@@ -0,0 +1,21 @@
+Module JGross.
+ Hint Extern 1 => match goal with |- match ?E with end => case E end.
+
+ Goal forall H : False, match H return Set with end.
+ Proof.
+ intros.
+ solve [ eauto ].
+ Qed.
+End JGross.
+
+Section BenDelaware.
+ Hint Extern 0 => admit.
+ Goal forall (H : False), id (match H return Set with end).
+ Proof.
+ eauto.
+ Qed.
+ Goal forall (H : False), match H return Set with end.
+ Proof.
+ solve [ eauto ] .
+ Qed.
+End BenDelaware.