diff options
Diffstat (limited to 'testsuite/tests/driver/T4114c.hs')
-rw-r--r-- | testsuite/tests/driver/T4114c.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T4114c.hs b/testsuite/tests/driver/T4114c.hs new file mode 100644 index 0000000000..f7802e13de --- /dev/null +++ b/testsuite/tests/driver/T4114c.hs @@ -0,0 +1,14 @@ +-- Test the flage `force-no-intermediates` (issue #4114) +module Main (main) where + +import T4114cSub + +keep, nokeep :: [FilePath] +keep = ["T4114c", "T4114cSub.hi", "T4114c.hi"] +nokeep = ["T4114cSub.o", "T4114c.o"] + + +main :: IO () +main = do + mapM_ assertNoKeep nokeep + mapM_ assertKeep keep |