summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T14265.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T14265.hs')
-rw-r--r--testsuite/tests/polykinds/T14265.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T14265.hs b/testsuite/tests/polykinds/T14265.hs
new file mode 100644
index 0000000000..84c1a025a1
--- /dev/null
+++ b/testsuite/tests/polykinds/T14265.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE PolyKinds #-}
+
+module T124265 where
+
+import Control.Monad.Trans.State( StateT )
+
+f :: proxy _ -> ()
+f _ = ()
+
+foo :: StateT _ _ ()
+foo = undefined