summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail215.hs
blob: be06f78dc9c560faf40457a8163e8d569b7c568c (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE ImplicitParams, MagicHash #-}

module ShouldFail where

import GHC.Exts

-- As of GHC 7.4, we don't allow unlifted types in ImplicitParms
foo :: (?x :: Int#) => Int
foo = I# ?x