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