summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/T4056.hs
blob: 9938aa2875f13cdf082da8e4265c2d83b183e350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{-# LANGUAGE TypeFamilies, RankNTypes, FlexibleContexts #-}
{-# LANGUAGE TemplateHaskell #-}

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