summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs
diff options
context:
space:
mode:
authorMikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>2012-07-13 20:48:45 +0700
committerSimon Marlow <marlowsd@gmail.com>2012-07-16 11:10:52 +0100
commitb72aa2c9086f39a3d75928da1b7b7e1332509f61 (patch)
treef8f79ba33884f81be9babb25f5424cbd27878192 /testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs
parent49703b98a01bf2ac3f7fb5cd63334887a3d975ac (diff)
downloadhaskell-b72aa2c9086f39a3d75928da1b7b7e1332509f61.tar.gz
Added LambdaCase tests.
Diffstat (limited to 'testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs')
-rw-r--r--testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs
new file mode 100644
index 0000000000..d87f8f0390
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.hs
@@ -0,0 +1,4 @@
+module ParserNoLambdaCase where
+
+f = \case "1" -> 1
+