summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T19739b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T19739b.hs')
-rw-r--r--testsuite/tests/polykinds/T19739b.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T19739b.hs b/testsuite/tests/polykinds/T19739b.hs
new file mode 100644
index 0000000000..e0377383da
--- /dev/null
+++ b/testsuite/tests/polykinds/T19739b.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE StandaloneKindSignatures #-}
+module Bug where
+
+import Data.Kind
+import Data.Proxy
+
+type T :: forall (a :: Type) -> Type
+newtype T a = Mk (Proxy a)