summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds010.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/ds010.hs')
-rw-r--r--testsuite/tests/deSugar/should_compile/ds010.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds010.hs b/testsuite/tests/deSugar/should_compile/ds010.hs
new file mode 100644
index 0000000000..268610e124
--- /dev/null
+++ b/testsuite/tests/deSugar/should_compile/ds010.hs
@@ -0,0 +1,15 @@
+-- !!! ds010 -- deeply-nested list comprehensions
+
+module ShouldCompile where
+
+z = [ (a,b,c,d,e,f,g,h,i,j) | a <- "12",
+ b <- "12",
+ c <- "12",
+ d <- "12",
+ e <- "12",
+ f <- "12",
+ g <- "12",
+ h <- "12",
+ i <- "12",
+ j <- "12"
+ ]