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

module GenCannotDoRep1_3 where

import GHC.Generics

-- We do not support occurrences of the type variable except as the last
-- argument
data B a b = B (a, b)

data T a = T (B a Int) deriving Generic1