diff options
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyLeftSection2.hs')
-rw-r--r-- | testsuite/tests/rep-poly/RepPolyLeftSection2.hs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyLeftSection2.hs b/testsuite/tests/rep-poly/RepPolyLeftSection2.hs new file mode 100644 index 0000000000..d243089209 --- /dev/null +++ b/testsuite/tests/rep-poly/RepPolyLeftSection2.hs @@ -0,0 +1,15 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE PolyKinds #-} +{-# LANGUAGE MagicHash #-} + +module RepPolyLeftSection2 where + +import GHC.Exts + +f :: forall r (a :: TYPE r). a -> a -> a +f = undefined + +test1 :: forall r (a :: TYPE r). a -> a +test1 = ( undefined `f` ) + |