summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T4114b.hs
blob: 07486c54cbd17ec621ed5cada37b6adf95f9bcc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- Test the flage `force-no-intermediates` (issue #4114)
module Main (main) where

import T4114bSub

keep, nokeep :: [FilePath]
keep   = ["T4114b", "T4114bSub.o", "T4114b.o"]
nokeep = ["T4114bSub.hi", "T4114b.hi"]

main :: IO ()
main = do
  mapM_ assertNoKeep nokeep
  mapM_ assertKeep keep