File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import Control.Concurrent.STM
1313import Control.Monad (unless )
1414
1515main :: IO ()
16- #if __GLASGOW_HASKELL__ >= 706
16+ #if __GLASGOW_HASKELL__ >= 706 && !defined(GHC_7_6_1)
1717main = do
1818 x <- atomically $ do
1919 t <- newTVar (1 :: Integer )
Original file line number Diff line number Diff line change 1- {-# LANGUAGE CPP #-}
2-
3- {- NB: This one fails for GHC 7.6.1 in particular due to GHC#7493.
4-
5- This was fixed in GHC via
6- a006ecdfd381fa75ab16ddb66c3a2b247f359eb8
7- -}
8-
91module Stm065 (main ) where
102
113import Control.Concurrent.STM
124import Control.Monad (unless )
135
146main :: IO ()
15- #if defined(GHC_7_6_1)
16- main = putStrLn " Warning: test disabled for GHC 7.6.1"
17- #else
187main = do
198 x <- atomically $ do
209 r <- newTVar []
@@ -24,4 +13,3 @@ main = do
2413
2514 unless (null x) $ do
2615 fail (show x)
27- #endif
You can’t perform that action at this time.
0 commit comments