aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2016-03-05 18:23:05 +0100
committerHugo Herbelin2016-03-05 20:50:24 +0100
commiteb0feed6d22c11c44e7091c64ce5b1c9d5af987a (patch)
tree317c806bf3f55ff2ab0673cb9ce85f8fc40a7482 /test-suite
parentc6d6e27330f0a1c9e89b6b60953d4df757edfdb8 (diff)
Using build_selector from Equality as a replacement of the selector
in cctac which does not support indices properly. Incidentally, this should fix a failure in RelationAlgebra, where making prod_applist more robust (e8c47b652) revealed the discriminate bug in congruence.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/cc.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/test-suite/success/cc.v b/test-suite/success/cc.v
index a70d919635..dc0527d826 100644
--- a/test-suite/success/cc.v
+++ b/test-suite/success/cc.v
@@ -129,5 +129,10 @@ Qed.
End bug_2447.
+(* congruence was supposed to do discriminate but it was bugged for
+ types with indices *)
-
+Inductive I : nat -> Type := C : I 0 | D : I 0.
+Goal ~C=D.
+congruence.
+Qed.