summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read041.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read041.lhs')
-rw-r--r--testsuite/tests/parser/should_compile/read041.lhs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read041.lhs b/testsuite/tests/parser/should_compile/read041.lhs
new file mode 100644
index 0000000000..30274e85a1
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/read041.lhs
@@ -0,0 +1,10 @@
+-- Tests trac #210.
+
+module ShouldCompile where
+
+\begin{code}
+ main = foo
+\end{code}
+
+> foo = putStrLn "Foo"
+