Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/90960957783553075d90e517d588ce81bc88baeb >--------------------------------------------------------------- commit 90960957783553075d90e517d588ce81bc88baeb Author: Simon Marlow <[email protected]> Date: Mon Oct 10 10:39:29 2011 +0100 add test for #5425 >--------------------------------------------------------------- tests/parser/should_fail/T5425.hs | 6 ++++++ tests/parser/should_fail/T5425.stderr | 3 +++ tests/parser/should_fail/all.T | 1 + 3 files changed, 10 insertions(+), 0 deletions(-) diff --git a/tests/parser/should_fail/T5425.hs b/tests/parser/should_fail/T5425.hs new file mode 100644 index 0000000..a368edd --- /dev/null +++ b/tests/parser/should_fail/T5425.hs @@ -0,0 +1,6 @@ + +-- load into ghci + +"λa: (Type[0] â (Type[0] â Type[0])).\ + λb: (Type[0] â Type[0]). λc: Type[0].\ + ((a c)(b c))" diff --git a/tests/parser/should_fail/T5425.stderr b/tests/parser/should_fail/T5425.stderr new file mode 100644 index 0000000..52d29d9 --- /dev/null +++ b/tests/parser/should_fail/T5425.stderr @@ -0,0 +1,3 @@ + +T5425.hs:5:2: + lexical error in string/character literal at character '\955' diff --git a/tests/parser/should_fail/all.T b/tests/parser/should_fail/all.T index 65fba07..0e94f1a 100644 --- a/tests/parser/should_fail/all.T +++ b/tests/parser/should_fail/all.T @@ -73,3 +73,4 @@ test('readFailTraditionalRecords1', normal, compile_fail, ['']) test('readFailTraditionalRecords2', normal, compile_fail, ['']) test('readFailTraditionalRecords3', normal, compile_fail, ['']) +test('T5425', normal, compile_fail, [''])
_______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
