summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T13603.hs
blob: bcbed465b06b2c7b53f79fd6665b1237e33dcca6 (plain)
1
2
3
4
5
6
7
8
9
10
{-# Language PolyKinds, UndecidableInstances #-}
module T13603 where

import GHC.Exts (TYPE, RuntimeRep)

class        A (a :: TYPE rep)
class A a => B (a :: TYPE rep)

instance A b => A (a -> (b :: TYPE rep))
instance B b => B (a -> (b :: TYPE rep))