[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / validation-misc / testgrhss.hs
diff --git a/ghc/compiler/tests/validation-misc/testgrhss.hs b/ghc/compiler/tests/validation-misc/testgrhss.hs
new file mode 100644 (file)
index 0000000..73f1901
--- /dev/null
@@ -0,0 +1,16 @@
+-- grhss
+-----
+
+f x | True = x+1       -- 1
+    | False = True
+
+-----
+
+x | True = x+1         -- 2
+  | False = x
+
+-----
+
+
+
+