summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/should_run/T15369.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/should_run/T15369.script')
-rw-r--r--testsuite/tests/ghci/should_run/T15369.script13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/should_run/T15369.script b/testsuite/tests/ghci/should_run/T15369.script
new file mode 100644
index 0000000000..5232c6aadc
--- /dev/null
+++ b/testsuite/tests/ghci/should_run/T15369.script
@@ -0,0 +1,13 @@
+-- create an .o file
+:set -fobject-code
+:l T15369.hs
+:set -fbyte-code
+-- start the test
+:set +c
+:l *T15369.hs
+:all-types
+:l *T15369.hs
+:all-types
+:! sed -i 's/Int/Double/g' T15369.hs
+:l *T15369.hs
+:all-types