diff options
Diffstat (limited to 'testsuite/tests/rep-poly/T17360.hs')
-rw-r--r-- | testsuite/tests/rep-poly/T17360.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/T17360.hs b/testsuite/tests/rep-poly/T17360.hs new file mode 100644 index 0000000000..fc82675271 --- /dev/null +++ b/testsuite/tests/rep-poly/T17360.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE UnliftedNewtypes #-} +{-# LANGUAGE ExplicitForAll #-} +{-# LANGUAGE PolyKinds #-} +module T17360 where + +import GHC.Exts + +newtype Id (a :: TYPE r) = Id a + +foo :: forall r (a :: TYPE r). Id a -> Id a +foo x = x |