summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-10-23 17:42:11 +0200
committerBen Gamari <ben@smart-cactus.org>2015-10-23 17:43:37 +0200
commitfdb08e2abccf1e02dc2ef91531aebe062d8af82d (patch)
tree71959e2f64a77be771e347b8ca603316a8932459 /testsuite
parent8f5ad1a009eddd05447ff8057792b4d03983cd35 (diff)
downloadhaskell-fdb08e2abccf1e02dc2ef91531aebe062d8af82d.tar.gz
Add testcase for #10426
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/patsyn/should_compile/T10426.hs3
-rw-r--r--testsuite/tests/patsyn/should_compile/all.T1
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_compile/T10426.hs b/testsuite/tests/patsyn/should_compile/T10426.hs
new file mode 100644
index 0000000000..bb85a19210
--- /dev/null
+++ b/testsuite/tests/patsyn/should_compile/T10426.hs
@@ -0,0 +1,3 @@
+{-# LANGUAGE PatternSynonyms, ViewPatterns, EmptyCase #-}
+
+pattern Id <- (id -> _) where
diff --git a/testsuite/tests/patsyn/should_compile/all.T b/testsuite/tests/patsyn/should_compile/all.T
index 5e86a99cca..9d42fa096a 100644
--- a/testsuite/tests/patsyn/should_compile/all.T
+++ b/testsuite/tests/patsyn/should_compile/all.T
@@ -24,4 +24,5 @@ test('T9889', normal, compile, [''])
test('T9867', normal, compile, [''])
test('T9975a', normal, compile_fail, [''])
test('T9975b', normal, compile, [''])
+test('T10426', [expect_broken(10426)], compile, [''])
test('T10747', normal, compile, [''])