summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/T11148.hs
blob: 5e505beb31f5586b0e97ee56d273d8a81ae764a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE TypeFamilies       #-}
{-# LANGUAGE DeriveFunctor      #-}
{-# LANGUAGE FlexibleInstances  #-}

module T11148 where

data family G a b c d
data instance G Int b Float d = G deriving Functor

data family H a b c d
data instance H [b] b d c = H deriving Functor