]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/tests/match00.cic
added regression tests
[helm.git] / helm / gTopLevel / tests / match00.cic
diff --git a/helm/gTopLevel/tests/match00.cic b/helm/gTopLevel/tests/match00.cic
new file mode 100644 (file)
index 0000000..bcfd70e
--- /dev/null
@@ -0,0 +1,6 @@
+[\lambda x:nat.
+  [\lambda y:nat. Set]
+    match x:nat with [ O \Rightarrow nat | (S x) \Rightarrow bool ]]
+match (S O):nat with
+[ O \Rightarrow O
+| (S x) \Rightarrow false ]