summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/T13324_fail2.hs
blob: 41f36c7b20345ac06d9250af60a7dfdf7059244c (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE GADTs #-}
{-# LANGUAGE PartialTypeSignatures #-}
{-# LANGUAGE StandaloneDeriving #-}
module T13324_fail2 where

newtype Foo f a = Foo (f (f a))
deriving instance _ => Eq (Foo f a)

data T a where
    MkT :: T Int
deriving instance _ => Eq (T a)