summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/GenCannotDoRep1_6.hs
blob: a64629c3fbd44480deaa755abd3be1925206503b (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE DeriveGeneric       #-}

module GenCannotDoRep1_6 where

import GHC.Generics

-- We do not support occurrences of the type variable except as the last
-- argument: == (->) ((->) a Int) Int
data T a = T ((a -> Int) -> Int) deriving Generic1