diff options
Diffstat (limited to 'testsuite/tests/ghc-regress/codeGen/should_compile/cg001.hs')
-rw-r--r-- | testsuite/tests/ghc-regress/codeGen/should_compile/cg001.hs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/testsuite/tests/ghc-regress/codeGen/should_compile/cg001.hs b/testsuite/tests/ghc-regress/codeGen/should_compile/cg001.hs deleted file mode 100644 index ad00a8f89c..0000000000 --- a/testsuite/tests/ghc-regress/codeGen/should_compile/cg001.hs +++ /dev/null @@ -1,15 +0,0 @@ -{-# LANGUAGE MagicHash #-} - -module ShouldCompile where - -import GHC.Exts - -data STRef s a = STRef (MutVar# s a) - --- ghc 4.08 had a problem with returning a MutVar#. - -from :: STRef s a -> MutVar# s a -from (STRef x) = x - -to :: MutVar# s a -> STRef s a -to x = STRef x |