Commit 63d2adae authored by eir@cis.upenn.edu's avatar eir@cis.upenn.edu
Browse files

Test #7643 in typecheck/should_compile/T7643.

parent 33591335
{-# LANGUAGE MagicHash, TypeFamilies #-}
module T7643 where
import GHC.Exts
type family T
type instance T = RealWorld
foo :: () -> State# T
foo _ = unsafeCoerce# realWorld#
......@@ -431,3 +431,4 @@ test('T9151', normal, compile, [''])
test('T9497a', normal, compile, ['-fdefer-typed-holes'])
test('T9497b', normal, compile, ['-fdefer-typed-holes -fno-warn-typed-holes'])
test('T9497c', normal, compile, ['-fdefer-type-errors -fno-warn-typed-holes'])
test('T7643', normal, compile, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment