summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/cgrun038.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun038.hs')
-rw-r--r--testsuite/tests/codeGen/should_run/cgrun038.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun038.hs b/testsuite/tests/codeGen/should_run/cgrun038.hs
new file mode 100644
index 0000000000..57669c6d29
--- /dev/null
+++ b/testsuite/tests/codeGen/should_run/cgrun038.hs
@@ -0,0 +1,13 @@
+{-
+From: Rajiv Mirani <mirani>
+Date: Sat, 26 Aug 95 21:14:47 -0400
+Subject: GHC bug
+
+GHC can't parse the following program when there is no newline at the
+end of the last line:
+-}
+
+module Main where
+main :: IO ()
+main = return ()
+-- random comment \ No newline at end of file