summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr023.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2016-12-15 11:17:34 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-15 11:17:35 -0500
commit1ec632f880ab730f99ae9286d5be8e2287330ca4 (patch)
tree17a7a555b9274d0bfcf83a25a86aca4c6c021249 /testsuite/tests/printer/Ppr023.hs
parent394231b301efb6b56654b0a480ab794fe3b7e4db (diff)
downloadhaskell-1ec632f880ab730f99ae9286d5be8e2287330ca4.tar.gz
Fix pretty printing of MINIMAL signatures
Reviewers: austin, alanz, bgamari Reviewed By: alanz, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2836
Diffstat (limited to 'testsuite/tests/printer/Ppr023.hs')
-rw-r--r--testsuite/tests/printer/Ppr023.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Ppr023.hs b/testsuite/tests/printer/Ppr023.hs
index 7291854f07..32cb9bb280 100644
--- a/testsuite/tests/printer/Ppr023.hs
+++ b/testsuite/tests/printer/Ppr023.hs
@@ -35,3 +35,7 @@ class Foo a where
baz :: a -> a -> Bool
quux :: a -> a -> Bool
{-# MINIMAL bar, (foo, baq | foo, quux) #-}
+
+class Foo2 a where
+ f :: a
+ {-# MiNiMaL f #-}