summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5886a.hs
blob: 4c6f433b5f385c368bafac9a8fc76ea0f1ce54c7 (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 [] (AppT (ConT ''C) (ConT ''Int))
                [TySynInstD ''AT [ConT ''Int] (ConT ''Int)]]