diff options
author | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2012-06-21 12:41:59 +0100 |
---|---|---|
committer | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2012-06-21 12:41:59 +0100 |
commit | 7d8b524178e759f3ef7edf5e2ffb6e5f0a35b500 (patch) | |
tree | b0f71badc11d48281782c45b541fa5e3204c16f0 /testsuite/tests/generics | |
parent | 686628d242e497a746d6272247445def6b6a2485 (diff) | |
download | haskell-7d8b524178e759f3ef7edf5e2ffb6e5f0a35b500.tar.gz |
Add test for #5936
Diffstat (limited to 'testsuite/tests/generics')
-rw-r--r-- | testsuite/tests/generics/GenCanDoRep0.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/generics/GenCanDoRep0.hs b/testsuite/tests/generics/GenCanDoRep0.hs index a86416b052..8a0b4e07d6 100644 --- a/testsuite/tests/generics/GenCanDoRep0.hs +++ b/testsuite/tests/generics/GenCanDoRep0.hs @@ -1,5 +1,6 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE TypeOperators #-} +{-# LANGUAGE TypeFamilies #-} module CanDoRep0 where @@ -21,3 +22,6 @@ data D a = D0 | D1 { d11 :: a, d12 :: (D a) } data (:*:) a b = a :*: b deriving Generic + +data family F a +data instance F Int = FInt deriving Generic |