diff options
author | Reid Barton <rwbarton@gmail.com> | 2017-03-02 16:29:55 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-02 19:58:01 -0500 |
commit | fce3d37c367346c67467ce3d56bc015fa9ed6062 (patch) | |
tree | b387645cf5ee628f67bfede42b6f77e432c667fa /testsuite/tests/patsyn/should_fail/T13349.hs | |
parent | 0b922909121f6a812d2861a29d0d0d3c7e2fcfce (diff) | |
download | haskell-fce3d37c367346c67467ce3d56bc015fa9ed6062.tar.gz |
Don't allow orphan COMPLETE pragmas (#13349)
We might support them properly in the future, but for now it's simpler
to disallow them.
Test Plan: validate
Reviewers: mpickering, austin, bgamari, simonpj
Reviewed By: mpickering, simonpj
Subscribers: simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D3243
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T13349.hs')
-rw-r--r-- | testsuite/tests/patsyn/should_fail/T13349.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T13349.hs b/testsuite/tests/patsyn/should_fail/T13349.hs new file mode 100644 index 0000000000..45bdc23ace --- /dev/null +++ b/testsuite/tests/patsyn/should_fail/T13349.hs @@ -0,0 +1,5 @@ +{-# LANGUAGE PatternSynonyms #-} + +module T13349 where + +{-# COMPLETE False #-} |