diff options
author | Ian Lynagh <igloo@earth.li> | 2010-01-22 14:13:29 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-01-22 14:13:29 +0000 |
commit | 0ebe48146f85ab59ee14a084dc8a0040aec06b93 (patch) | |
tree | f7f1f5fab719a96c3508a12fd220af047e0fa101 /testsuite/tests/ghc-regress/rename/should_compile | |
parent | b80c6b7b841eb32c348887b014b47d2d3247e908 (diff) | |
download | haskell-0ebe48146f85ab59ee14a084dc8a0040aec06b93.tar.gz |
Expect T3823 to fail to compile
Diffstat (limited to 'testsuite/tests/ghc-regress/rename/should_compile')
-rw-r--r-- | testsuite/tests/ghc-regress/rename/should_compile/Makefile | 2 | ||||
-rw-r--r-- | testsuite/tests/ghc-regress/rename/should_compile/T3823.stderr | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-regress/rename/should_compile/Makefile b/testsuite/tests/ghc-regress/rename/should_compile/Makefile index f586aead53..327701c182 100644 --- a/testsuite/tests/ghc-regress/rename/should_compile/Makefile +++ b/testsuite/tests/ghc-regress/rename/should_compile/Makefile @@ -10,5 +10,5 @@ T1792_imports: T3823: $(RM) T3823A.hi-boot T3823A.hi T3823B.hi $(RM) T3823A.o-boot T3823A.o T3823B.o - '$(TEST_HC)' -v0 --make T3823A.hs + -'$(TEST_HC)' -v0 --make T3823A.hs diff --git a/testsuite/tests/ghc-regress/rename/should_compile/T3823.stderr b/testsuite/tests/ghc-regress/rename/should_compile/T3823.stderr new file mode 100644 index 0000000000..757ef5b7eb --- /dev/null +++ b/testsuite/tests/ghc-regress/rename/should_compile/T3823.stderr @@ -0,0 +1,6 @@ + +T3823B.hs:8:6: + Couldn't match expected type `A' against inferred type `Bool' + In the first argument of `y', namely `a' + In the expression: y a + In the definition of `b': b = y a |