aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Herbelin2014-06-30 19:38:14 +0200
committerHugo Herbelin2014-06-30 19:46:59 +0200
commit26c8ce24a5dad0d54c6efbc7265a15f8d92dfb0b (patch)
tree34b551c7d167d2115727de0b758166f80f46bcae
parentd46c62d5ad9da3cdb6518f1a6d74703dc955559d (diff)
Tests for bugs #2834 and #2994.
-rw-r--r--test-suite/bugs/closed/2834.v4
-rw-r--r--test-suite/bugs/closed/2994.v2
2 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2834.v b/test-suite/bugs/closed/2834.v
new file mode 100644
index 0000000000..6015c53b8a
--- /dev/null
+++ b/test-suite/bugs/closed/2834.v
@@ -0,0 +1,4 @@
+(* Testing typing of subst *)
+
+Lemma eqType2Set (a b : Set) (H : @eq Type a b) : @eq Set a b.
+Fail subst.
diff --git a/test-suite/bugs/closed/2994.v b/test-suite/bugs/closed/2994.v
new file mode 100644
index 0000000000..457b1893de
--- /dev/null
+++ b/test-suite/bugs/closed/2994.v
@@ -0,0 +1,2 @@
+(* Was an anomaly at some time *)
+Fail Class foo : Prop := { bar :> Set }.