summaryrefslogtreecommitdiff
path: root/testsuite/tests/quasiquotation/qq004/qq004.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/quasiquotation/qq004/qq004.hs')
-rw-r--r--testsuite/tests/quasiquotation/qq004/qq004.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/quasiquotation/qq004/qq004.hs b/testsuite/tests/quasiquotation/qq004/qq004.hs
new file mode 100644
index 0000000000..c95b94ef02
--- /dev/null
+++ b/testsuite/tests/quasiquotation/qq004/qq004.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE QuasiQuotes #-}
+module Main where
+
+main :: IO ()
+main = p undefined
+ where
+ p = \parse -> case () of
+ [parse||] -> return ()
+ _ -> return ()