summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr016.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/printer/Ppr016.hs')
-rw-r--r--testsuite/tests/printer/Ppr016.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Ppr016.hs b/testsuite/tests/printer/Ppr016.hs
new file mode 100644
index 0000000000..630045c0b2
--- /dev/null
+++ b/testsuite/tests/printer/Ppr016.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE ImplicitParams #-}
+
+explicit :: ((?above :: q, ?below :: a -> q) => b) -> q -> (a -> q) -> b
+explicit x ab be = x where ?above = ab; ?below = be