Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/79cbbaad2818624a872fe05d3d064f33aa21c954 >--------------------------------------------------------------- commit 79cbbaad2818624a872fe05d3d064f33aa21c954 Author: Paolo Capriotti <[email protected]> Date: Mon Aug 13 17:07:16 2012 +0100 Add test for #7130 >--------------------------------------------------------------- tests/driver/Makefile | 4 ++++ tests/driver/T7130.hs | 1 + tests/driver/T7130.stderr | 6 ++++++ tests/driver/all.T | 1 + 4 files changed, 12 insertions(+), 0 deletions(-) diff --git a/tests/driver/Makefile b/tests/driver/Makefile index fdb2348..60da032 100644 --- a/tests/driver/Makefile +++ b/tests/driver/Makefile @@ -526,3 +526,7 @@ T7060c: .PHONY: T7060 T7060: T7060a T7060b T7060c + +.PHONY: T7130 +T7130: + "$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP) -fflul-laziness diff --git a/tests/driver/T7130.hs b/tests/driver/T7130.hs new file mode 100644 index 0000000..980fe9a --- /dev/null +++ b/tests/driver/T7130.hs @@ -0,0 +1 @@ +module T7130 where diff --git a/tests/driver/T7130.stderr b/tests/driver/T7130.stderr new file mode 100644 index 0000000..3ddeced --- /dev/null +++ b/tests/driver/T7130.stderr @@ -0,0 +1,6 @@ +ghc-stage2: unrecognised flag: -fflul-laziness +did you mean one of: + -ffull-laziness + -fno-full-laziness + +Usage: For basic information, try the `--help' option. diff --git a/tests/driver/all.T b/tests/driver/all.T index 3440f9a..3d999a0 100644 --- a/tests/driver/all.T +++ b/tests/driver/all.T @@ -361,3 +361,4 @@ test('T7060', 'T7060dump']), run_command, ['$MAKE -s --no-print-directory T7060']) +test('T7130', normal, compile_fail, ['-fflul-laziness']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
