Commit d7bc712d authored by's avatar
Browse files

Remove recomp009 from tests/ghc-regress/driver, it's now in tests/driver

parent 6e86ac1f
{-# LANGUAGE TemplateHaskell #-}
module Main where
import Sub
main = print $x
include $(TOP)/mk/
include $(TOP)/mk/
# Recompilation tests
rm -f *.o *.hi
rm -f B.hs C
# bug #481
recomp009: clean
cp Sub1.hs Sub.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Main.hs
sleep 1
cp Sub2.hs Sub.hs
-'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Main.hs
{-# LANGUAGE TemplateHaskell #-}
module Sub where
x = [| 1 |]
{-# LANGUAGE TemplateHaskell #-}
module Sub where
x = [| 2 |]
# Test for #481, a recompilation bug with Template Haskell
[ clean_cmd('$MAKE -s clean') ],
['$MAKE -s --no-print-directory recomp009'])
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