summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/T4170.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc86/T4170.hs')
-rw-r--r--tests/examples/ghc86/T4170.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/examples/ghc86/T4170.hs b/tests/examples/ghc86/T4170.hs
new file mode 100644
index 0000000..5494db7
--- /dev/null
+++ b/tests/examples/ghc86/T4170.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TemplateHaskell #-}
+module T4170 where
+
+import Language.Haskell.TH
+
+class LOL a
+
+lol :: Q [Dec]
+lol = [d|
+ instance LOL Int
+ |]
+
+instance LOL Int
+