summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5886a.hs
blob: 95aefc2792e41babf1c9f4e5bbc9b995b3446d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE UnicodeSyntax #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}

module T5886a where

import Language.Haskell.TH

class C α where
  type AT α ∷ ★

bang ∷ DecsQ
bang = return [InstanceD Nothing [] (AppT (ConT ''C) (ConT ''Int))
                [TySynInstD ''AT (TySynEqn [ConT ''Int] (ConT ''Int))]]