summaryrefslogtreecommitdiff
path: root/test-suite/success/Cases-bug1834.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/Cases-bug1834.v')
-rw-r--r--test-suite/success/Cases-bug1834.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/success/Cases-bug1834.v b/test-suite/success/Cases-bug1834.v
new file mode 100644
index 00000000..543ca0c9
--- /dev/null
+++ b/test-suite/success/Cases-bug1834.v
@@ -0,0 +1,13 @@
+(* Bug in the computation of generalization *)
+
+(* The following bug, elaborated by Bruno Barras, is solved from r11083 *)
+
+Parameter P : unit -> Prop.
+Definition T := sig P.
+Parameter Q : T -> Prop.
+Definition U := sig Q.
+Parameter a : U.
+Check (match a with exist (exist tt e2) e3 => e3=e3 end).
+
+(* There is still a form submitted by Pierre Corbineau (#1834) which fails *)
+