diff options
Diffstat (limited to 'testsuite/tests/th/T3395.hs')
-rw-r--r-- | testsuite/tests/th/T3395.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/th/T3395.hs b/testsuite/tests/th/T3395.hs new file mode 100644 index 0000000000..ff3ee4384a --- /dev/null +++ b/testsuite/tests/th/T3395.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE TemplateHaskell #-}
+module T3395 where
+
+import Language.Haskell.TH
+
+foo = $(return $
+ CompE
+ [NoBindS (VarE $ mkName "undefined")
+ ,BindS (VarP $ mkName "r1") (VarE $ mkName "undefined") ])
|