summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes/TH_typed_csp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/quotes/TH_typed_csp.hs')
-rw-r--r--testsuite/tests/quotes/TH_typed_csp.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/quotes/TH_typed_csp.hs b/testsuite/tests/quotes/TH_typed_csp.hs
new file mode 100644
index 0000000000..4660fffd7f
--- /dev/null
+++ b/testsuite/tests/quotes/TH_typed_csp.hs
@@ -0,0 +1,6 @@
+-- Check that CSP works for typed quotations.. there was no test for this
+-- before apart from the deriving tests.
+{-# LANGUAGE NoMonomorphismRestriction #-}
+module TH_typed_csp where
+
+bar = (\x -> [|| x ||]) ()