summaryrefslogtreecommitdiff
path: root/test-suite/failure/Case5.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/Case5.v')
-rw-r--r--test-suite/failure/Case5.v8
1 files changed, 6 insertions, 2 deletions
diff --git a/test-suite/failure/Case5.v b/test-suite/failure/Case5.v
index bdb5544b..29996fd4 100644
--- a/test-suite/failure/Case5.v
+++ b/test-suite/failure/Case5.v
@@ -1,3 +1,7 @@
-Inductive MS: Set := X:MS->MS | Y:MS->MS.
+Inductive MS : Set :=
+ | X : MS -> MS
+ | Y : MS -> MS.
-Type [p:MS]<nat>Cases p of (X x) => O end.
+Type (fun p : MS => match p return nat with
+ | X x => 0
+ end).