summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/th/T4056.hs
blob: 211d2b51f4864c0edc0b97c98cbcbba10ea4ffbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE TemplateHaskell, TypeFamilies, RankNTypes, FlexibleContexts #-}

module T4056 where
import Language.Haskell.TH

astTest :: Q [Dec]
astTest = [d|
    class C t where
        op :: [t] -> [t]
        op = undefined
  |]

class D t where
  bop :: [t] -> [t]
  bop = undefined