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

module CannotDoRep0_2 where

import GHC.Generics

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

deriving instance Generic (Term a)