summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/GenCannotDoRep1_2.hs
blob: cdbbed504bced1315d2da8d69bd124c5ea4a56c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE DeriveGeneric       #-}
{-# LANGUAGE StandaloneDeriving  #-}
{-# LANGUAGE GADTs               #-}

module CannotDoRep1_2 where

import GHC.Generics

-- We do not support GADTs
data Term a where
  Int :: Term Int

deriving instance Generic1 Term