summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read055.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read055.hs')
-rw-r--r--testsuite/tests/parser/should_compile/read055.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read055.hs b/testsuite/tests/parser/should_compile/read055.hs
new file mode 100644
index 0000000000..25db332a4d
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/read055.hs
@@ -0,0 +1,10 @@
+
+{-# LANGUAGE ParallelListComp #-}
+
+module Foo where
+
+foo = [ ()
+ | () <- foo
+ | () <- foo
+ ]
+