diff options
Diffstat (limited to 'testsuite/tests/polykinds/T22743.hs')
-rw-r--r-- | testsuite/tests/polykinds/T22743.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T22743.hs b/testsuite/tests/polykinds/T22743.hs new file mode 100644 index 0000000000..55ed0f4a24 --- /dev/null +++ b/testsuite/tests/polykinds/T22743.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE DataKinds #-} +module M where + +import GHC.Exts +import Data.Kind + +f :: forall f (g :: Type) (a :: TYPE (f g)). Int -> a +f = f + +x = f 0 |