diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-10-23 17:42:11 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-10-23 17:43:37 +0200 |
commit | fdb08e2abccf1e02dc2ef91531aebe062d8af82d (patch) | |
tree | 71959e2f64a77be771e347b8ca603316a8932459 /testsuite | |
parent | 8f5ad1a009eddd05447ff8057792b4d03983cd35 (diff) | |
download | haskell-fdb08e2abccf1e02dc2ef91531aebe062d8af82d.tar.gz |
Add testcase for #10426
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/patsyn/should_compile/T10426.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/patsyn/should_compile/all.T | 1 |
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, ['']) |