summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/T17360.hs
blob: fc8267527179a03efcb25ae0624e3f9ca509210f (plain)
1
2
3
4
5
6
7
8
9
10
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