summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_implicitParamsErr3.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/TH_implicitParamsErr3.hs')
-rw-r--r--testsuite/tests/th/TH_implicitParamsErr3.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/th/TH_implicitParamsErr3.hs b/testsuite/tests/th/TH_implicitParamsErr3.hs
new file mode 100644
index 0000000000..b217d60846
--- /dev/null
+++ b/testsuite/tests/th/TH_implicitParamsErr3.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE ImplicitParams #-}
+{-# LANGUAGE TemplateHaskell #-}
+import Language.Haskell.TH
+
+main = print $(letE [implicitParamBindD "invalid name" [e| "hi" |]]
+ (implicitParamVarE "invalid name"))