diff options
Diffstat (limited to 'testsuite/tests/generics/GenCannotDoRep0.hs')
-rw-r--r-- | testsuite/tests/generics/GenCannotDoRep0.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/generics/GenCannotDoRep0.hs b/testsuite/tests/generics/GenCannotDoRep0.hs new file mode 100644 index 0000000000..5b4f93f94f --- /dev/null +++ b/testsuite/tests/generics/GenCannotDoRep0.hs @@ -0,0 +1,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 |