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

module CannotDoRep0 where

import GHC.Generics

-- We do not support existential quantification
data Dynamic = forall a. Dynamic a deriving Generic