summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T5686.hs
blob: 425a13c839a930dfdc319abe87014301ec7f7782 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE TypeFamilies, DeriveFunctor #-}
module Main where

data U a = U (G a) deriving Functor

class A a where
   type G a