Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/be635163a616422abfbb61399683c551e4044586 >--------------------------------------------------------------- commit be635163a616422abfbb61399683c551e4044586 Author: Simon Peyton Jones <[email protected]> Date: Sun Apr 22 16:40:27 2012 +0100 Test Trac #6031 >--------------------------------------------------------------- tests/deriving/should_compile/T6031.hs | 7 +++++++ tests/deriving/should_compile/T6031a.hs | 3 +++ tests/deriving/should_compile/all.T | 1 + 3 files changed, 11 insertions(+), 0 deletions(-) diff --git a/tests/deriving/should_compile/T6031.hs b/tests/deriving/should_compile/T6031.hs new file mode 100644 index 0000000..b1ca4e1 --- /dev/null +++ b/tests/deriving/should_compile/T6031.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE StandaloneDeriving #-} + +module T6031 where + +import T6031a + +deriving instance Show Empty diff --git a/tests/deriving/should_compile/T6031a.hs b/tests/deriving/should_compile/T6031a.hs new file mode 100644 index 0000000..8871b3a --- /dev/null +++ b/tests/deriving/should_compile/T6031a.hs @@ -0,0 +1,3 @@ +module T6031a where + +data Empty diff --git a/tests/deriving/should_compile/all.T b/tests/deriving/should_compile/all.T index f6b1ef4..11a10b6 100644 --- a/tests/deriving/should_compile/all.T +++ b/tests/deriving/should_compile/all.T @@ -30,3 +30,4 @@ test('T4966', normal, compile, ['']) test('drv-functor1', normal, compile, ['']) test('drv-functor2', normal, compile, ['']) test('drv-foldable-traversable1', normal, compile, ['']) +test('T6031', extra_clean(['T6031a.o', 'T6031a.hi']), multimod_compile, ['T6031', '-v0']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
