diff options
Diffstat (limited to 'testsuite/tests/polykinds/T21530a.hs')
-rw-r--r-- | testsuite/tests/polykinds/T21530a.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T21530a.hs b/testsuite/tests/polykinds/T21530a.hs new file mode 100644 index 0000000000..e33381fbfd --- /dev/null +++ b/testsuite/tests/polykinds/T21530a.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE RankNTypes #-} + +module T21530 where + +f :: (forall a. (Show a, Eq a) => a -> String) -> String +f h = h True + +g :: (forall a. Show a => a -> String) -> String +g = f |