Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d33b867b1c37e687382ffe117b934229f215eec3 >--------------------------------------------------------------- commit d33b867b1c37e687382ffe117b934229f215eec3 Author: Simon Marlow <[email protected]> Date: Wed Nov 16 10:35:58 2011 +0000 add test for #5584 >--------------------------------------------------------------- tests/driver/Makefile | 6 ++++++ tests/driver/T5584/A.hs-boot | 3 +++ tests/driver/all.T | 2 ++ 3 files changed, 11 insertions(+), 0 deletions(-) diff --git a/tests/driver/Makefile b/tests/driver/Makefile index e407fd8..472daa6 100644 --- a/tests/driver/Makefile +++ b/tests/driver/Makefile @@ -485,3 +485,9 @@ T706: cp T706b.hs T706.hs "$(TEST_HC)" $(TEST_HC_OPTS) -c T706.hs echo "test" | "$(TEST_HC)" $(TEST_HC_OPTS) --interactive -ignore-dot-ghci -v0 T706 + +.PHONY: T5584 +T5584: + $(RM) -rf T5584_out + mkdir T5584_out + "$(TEST_HC)" -odir T5584_out -c T5584/A.hs-boot diff --git a/tests/driver/T5584/A.hs-boot b/tests/driver/T5584/A.hs-boot new file mode 100644 index 0000000..559ff28 --- /dev/null +++ b/tests/driver/T5584/A.hs-boot @@ -0,0 +1,3 @@ +module T5584.A where + +newtype A = A Int diff --git a/tests/driver/all.T b/tests/driver/all.T index 1007a04..7f937a9 100644 --- a/tests/driver/all.T +++ b/tests/driver/all.T @@ -349,3 +349,5 @@ test('spacesInArgs', compile_and_run, ['']) +test('T5584', normal, run_command, + ['$MAKE -s --no-print-directory T5584']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
