summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes
diff options
context:
space:
mode:
authorDominik Bollmann <bollmann@seas.upenn.edu>2016-05-11 15:55:13 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-12 15:39:30 +0200
commitc079de3c43704ea88f592e441389e520313e30ad (patch)
treea3d85f9118ec73abdc7058b8c3123afc18bf9360 /testsuite/tests/quotes
parente21728736d2ca0d65da9e84c18a12c2f29c116ee (diff)
downloadhaskell-c079de3c43704ea88f592e441389e520313e30ad.tar.gz
Add TH support for pattern synonyms (fixes #8761)
This commit adds Template Haskell support for pattern synonyms as requested by trac ticket #8761. Test Plan: ./validate Reviewers: thomie, jstolarek, osa1, RyanGlScott, mpickering, austin, goldfire, bgamari Reviewed By: goldfire, bgamari Subscribers: rdragon Differential Revision: https://phabricator.haskell.org/D1940 GHC Trac Issues: #8761
Diffstat (limited to 'testsuite/tests/quotes')
-rw-r--r--testsuite/tests/quotes/T8759a.stderr4
-rw-r--r--testsuite/tests/quotes/all.T2
2 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/tests/quotes/T8759a.stderr b/testsuite/tests/quotes/T8759a.stderr
deleted file mode 100644
index ff0fd495df..0000000000
--- a/testsuite/tests/quotes/T8759a.stderr
+++ /dev/null
@@ -1,4 +0,0 @@
-
-T8759a.hs:5:7:
- pattern synonyms not (yet) handled by Template Haskell
- pattern Q = False
diff --git a/testsuite/tests/quotes/all.T b/testsuite/tests/quotes/all.T
index c34a207292..87081a5dc6 100644
--- a/testsuite/tests/quotes/all.T
+++ b/testsuite/tests/quotes/all.T
@@ -13,7 +13,7 @@ test('T5721', normal, compile, ['-v0'])
test('T6062', normal, compile, ['-v0'])
test('T8455', normal, compile, ['-v0'])
test('T8633', normal, compile_and_run, [''])
-test('T8759a', normal, compile_fail, ['-v0'])
+test('T8759a', normal, compile, ['-v0'])
test('T9824', normal, compile, ['-v0'])
test('T10384', normal, compile_fail, [''])