summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog005/prog005.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/prog005/prog005.script')
-rw-r--r--testsuite/tests/ghci/prog005/prog005.script17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog005/prog005.script b/testsuite/tests/ghci/prog005/prog005.script
new file mode 100644
index 0000000000..d7ca33fa83
--- /dev/null
+++ b/testsuite/tests/ghci/prog005/prog005.script
@@ -0,0 +1,17 @@
+:unset +s
+:unset +t
+
+:load B
+
+-- eval something that isn't exported from B
+z
+
+:!sleep 1
+:!touch A.hs
+:reload
+
+-- A should be recompiled, B will be skipped. We should still have
+-- the full top-level scope of B available, though. This was
+-- nearly broken in GHC 6.4
+z
+