summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/T20330b.hs
blob: a77b2b43a9d5987497a65e846c9d87296bdeda08 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE TypeApplications #-}

module T20330b where

import GHC.Exts

foo :: forall w r (z :: TYPE r). w -> z -> z
foo = raise# @w @(z -> z)