summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T4170.hs
blob: 87ccad6c5b97dd75e1b9abb9b135f250fb2af162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE TemplateHaskell #-}
module T4170 where

import Language.Haskell.TH

class LOL a

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

instance LOL Int