Commit 0edf9ca3 authored by's avatar

Add a test for AutoDeriveTypeable

parent 51a1962a
{-# LANGUAGE AutoDeriveTypeable #-}
{-# LANGUAGE StandaloneDeriving #-}
module AutoDeriveTypeable where
import Data.Typeable
data A = A
data B = B deriving Typeable
data C = C
deriving instance Typeable C
test = [typeRep [A], typeRep [B], typeRep [C]]
......@@ -37,4 +37,6 @@ test('T1133',
['$MAKE --no-print-directory -s T1133'])
test('T7704', normal, compile, [''])
test('T7710', normal, compile, [''])
\ No newline at end of file
test('T7710', normal, compile, [''])
test('AutoDeriveTypeable', normal, compile, [''])
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment