summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/T4170.hs
blob: 5494db73e9b65f13e4041166d417dd870edd5156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE TemplateHaskell #-}
module T4170 where

import Language.Haskell.TH

class LOL a

lol :: Q [Dec]
lol = [d|
    instance LOL Int
    |]

instance LOL Int