diff options
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyDeferred.hs')
-rw-r--r-- | testsuite/tests/rep-poly/RepPolyDeferred.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyDeferred.hs b/testsuite/tests/rep-poly/RepPolyDeferred.hs new file mode 100644 index 0000000000..b0aa59c95a --- /dev/null +++ b/testsuite/tests/rep-poly/RepPolyDeferred.hs @@ -0,0 +1,8 @@ +{-# OPTIONS_GHC -fdefer-type-errors #-} + +module RepPolyDeferred where + +import GHC.Exts + +foo :: forall rep (a :: TYPE rep). a -> a +foo bndr_a = bndr_a |