diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/T8042recomp.script')
-rw-r--r-- | testsuite/tests/ghci/scripts/T8042recomp.script | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T8042recomp.script b/testsuite/tests/ghci/scripts/T8042recomp.script new file mode 100644 index 0000000000..d8fa2b54cc --- /dev/null +++ b/testsuite/tests/ghci/scripts/T8042recomp.script @@ -0,0 +1,7 @@ +:set -v1 +System.IO.writeFile "T8042B.hs" "module T8042B where { fooB = \"T8042B\"; }" +System.IO.writeFile "T8042A.hs" "module T8042A where { import T8042B; run = putStrLn fooB }" +:set -fobject-code +:load T8042A +:load *T8042A +:break run |