summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T15324.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-07-05 08:50:56 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2018-07-05 09:51:15 -0400
commit57733978482dc1e566a7d4cd90d4cbbd1315e3b2 (patch)
treeb0d8cc06140c6eaa87abdfa4165a5a2ee7c48c51 /testsuite/tests/th/T15324.hs
parent927518668111584a06f12bd9eb1b0910a38acf4f (diff)
downloadhaskell-57733978482dc1e566a7d4cd90d4cbbd1315e3b2.tar.gz
Parenthesize rank-n contexts in Convert
Summary: A simple oversight. Test Plan: make test TEST=T15324 Reviewers: goldfire, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #15324 Differential Revision: https://phabricator.haskell.org/D4910
Diffstat (limited to 'testsuite/tests/th/T15324.hs')
-rw-r--r--testsuite/tests/th/T15324.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T15324.hs b/testsuite/tests/th/T15324.hs
new file mode 100644
index 0000000000..ea124f4dc7
--- /dev/null
+++ b/testsuite/tests/th/T15324.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TemplateHaskell #-}
+module T15324 where
+
+$([d| f :: forall a. (Show a => a) -> a
+ f _ = undefined
+ |])