summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T3221.hs
blob: 5550fd3fa7b648633bdde173a9a2d0966b0d4d01 (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS_GHC -Werror -fwarn-unused-binds #-}

-- Test Trac #3221: the constructors are used by the deriving
-- 	     	    clause, even though they are not exported

module T3221( Foo ) where

data Foo = Bar | Baz  deriving (Show,Read)