[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / validation-misc / testmatches.hs
diff --git a/ghc/compiler/tests/validation-misc/testmatches.hs b/ghc/compiler/tests/validation-misc/testmatches.hs
new file mode 100644 (file)
index 0000000..eb10ad9
--- /dev/null
@@ -0,0 +1,12 @@
+-- matches
+-----
+f x = case x of
+       True -> True
+       False -> x
+
+-----
+
+f ((x:a),y) = x
+f (a,b) = 2
+
+-----