summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/GenDerivOutput1_0.hs
blob: 8ce1db56b5009d5ed977fb8709d697b1646b1876 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE DeriveGeneric   #-}
{-# OPTIONS_GHC -ddump-deriv #-}

module GenDerivOutput1_0 where

import GHC.Generics (Generic1)

data List a = Nil | Cons { element :: a, rest :: List a } deriving Generic1