summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn045.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn045.hs')
-rw-r--r--testsuite/tests/rename/should_compile/rn045.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn045.hs b/testsuite/tests/rename/should_compile/rn045.hs
new file mode 100644
index 0000000000..16a3c49972
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/rn045.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS_GHC -Wall #-}
+{-# LANGUAGE ParallelListComp #-}
+-- On GHC 6.0 and earlier, this parallel list comprehension generated
+-- an incorrect unused-binding warning.
+
+module ShouldCompile where
+
+t :: [(Char,Char)]
+t = [ (a,b) | a <- "foo" | b <- "bar" ]