summaryrefslogtreecommitdiff
path: root/testsuite/tests/quantified-constraints/T18432.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/quantified-constraints/T18432.hs')
-rw-r--r--testsuite/tests/quantified-constraints/T18432.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/quantified-constraints/T18432.hs b/testsuite/tests/quantified-constraints/T18432.hs
new file mode 100644
index 0000000000..ba50727420
--- /dev/null
+++ b/testsuite/tests/quantified-constraints/T18432.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE QuantifiedConstraints #-}
+module Bug where
+
+import Data.Proxy
+
+class C a where
+ m :: Proxy a
+
+f :: (forall {a}. C a) => Proxy Int
+f = m