diff options
Diffstat (limited to 'testsuite/tests/ghc-regress/typecheck/should_fail/tcfail164.hs')
-rw-r--r-- | testsuite/tests/ghc-regress/typecheck/should_fail/tcfail164.hs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail164.hs b/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail164.hs deleted file mode 100644 index 97ff3caf4e..0000000000 --- a/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail164.hs +++ /dev/null @@ -1,18 +0,0 @@ -{-# LANGUAGE MagicHash #-} - --- Tests tagToEnum# hacks - -module ShouldFail where - -import GHC.Base - --- Test 1: Polymorphic -f :: a -f = tagToEnum# 0# - --- Test 2: Int value (not an Enumeration TyCon) -class Unboxable value where - readUnboxable :: Int -> value -instance Unboxable Int where - readUnboxable (I# value#) = tagToEnum# value# - |