diff options
Diffstat (limited to 'testsuite/tests/quasiquotation/qq006/Main.hs')
-rw-r--r-- | testsuite/tests/quasiquotation/qq006/Main.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/quasiquotation/qq006/Main.hs b/testsuite/tests/quasiquotation/qq006/Main.hs new file mode 100644 index 0000000000..7e21acc235 --- /dev/null +++ b/testsuite/tests/quasiquotation/qq006/Main.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE QuasiQuotes #-} +module Main where + +import Expr + +main :: IO () +main = do case [$expr|1 + 2|] of + [$expr|$x + $x|] -> print x + _ -> return () |