summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes/T20472_quotes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/quotes/T20472_quotes.hs')
-rw-r--r--testsuite/tests/quotes/T20472_quotes.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/quotes/T20472_quotes.hs b/testsuite/tests/quotes/T20472_quotes.hs
new file mode 100644
index 0000000000..faebf59a21
--- /dev/null
+++ b/testsuite/tests/quotes/T20472_quotes.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE TemplateHaskellQuotes #-}
+{-# LANGUAGE NoMonomorphismRestriction #-}
+{-# OPTIONS_GHC -fdefer-out-of-scope-variables #-}
+module T20472_quotes where
+
+foo = [| Prelude.a |]