diff options
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T18856.hs')
| -rw-r--r-- | testsuite/tests/patsyn/should_fail/T18856.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T18856.hs b/testsuite/tests/patsyn/should_fail/T18856.hs new file mode 100644 index 0000000000..780a734d53 --- /dev/null +++ b/testsuite/tests/patsyn/should_fail/T18856.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE PatternSynonyms, ViewPatterns #-} + +module T18856 where + +pattern P :: Int -> Bool -> (Int, Bool, [(Bool,Bool)]) +pattern P p q <- (q, p, [(True,False)]) + |
