summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp019/B2.hs
diff options
context:
space:
mode:
authorHarry Garrood harry@garrood.me <harry@garrood.me>2021-03-04 21:37:19 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-05 04:49:18 -0500
commitb5155a6c74e774d99a67f2b5c8c06b70ad5e5b2e (patch)
tree4872ea83165bd9de6a4d988fc20778f0f3469b7a /testsuite/tests/driver/recomp019/B2.hs
parent4cd98bd2c91cac4a10831ab7111c7be8153bdd33 (diff)
downloadhaskell-b5155a6c74e774d99a67f2b5c8c06b70ad5e5b2e.tar.gz
Add new driver test for use of outdated .o files
This is something that's quite important for the correctness of the incremental build system and doesn't appear to be tested currently; this test fails on my hashing branch, whereas all of the other (non-perf) tests pass.
Diffstat (limited to 'testsuite/tests/driver/recomp019/B2.hs')
-rw-r--r--testsuite/tests/driver/recomp019/B2.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/driver/recomp019/B2.hs b/testsuite/tests/driver/recomp019/B2.hs
new file mode 100644
index 0000000000..bed169b09c
--- /dev/null
+++ b/testsuite/tests/driver/recomp019/B2.hs
@@ -0,0 +1,4 @@
+module B where
+
+x :: Int
+x = 12