summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T21530b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T21530b.hs')
-rw-r--r--testsuite/tests/polykinds/T21530b.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T21530b.hs b/testsuite/tests/polykinds/T21530b.hs
new file mode 100644
index 0000000000..e0afe1b873
--- /dev/null
+++ b/testsuite/tests/polykinds/T21530b.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TypeApplications #-}
+
+module Foo where
+
+import Data.Kind
+import Data.Proxy
+
+f :: forall (a :: Type). Proxy a -> Int
+f = f
+
+g :: Proxy (Eq Int)
+g = g
+
+h = f g