summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7328.hs
blob: f51efb7943b40955a55b7ce13800875fec0e18f2 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE PolyKinds, GADTs, AllowAmbiguousTypes #-}

module T7328 where

data Proxy a

class Foo a where
    foo :: a ~ f i => Proxy (Foo f)