summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-16 17:13:15 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-22 10:06:05 -0400
commit8f8fc31b84919ea40da87eb4607bb2a52b960efe (patch)
tree7610ba9e0fbd7cc881b9dd0d97047a1e3293abc7 /testsuite
parent655c6e265e06acbebcb6f9aa084efb3ce933e189 (diff)
downloadhaskell-8f8fc31b84919ea40da87eb4607bb2a52b960efe.tar.gz
testsuite: Add test for #16563
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/ghci/scripts/T16563.script1
-rw-r--r--testsuite/tests/ghci/scripts/T16563.stdout2
-rwxr-xr-xtestsuite/tests/ghci/scripts/all.T1
3 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T16563.script b/testsuite/tests/ghci/scripts/T16563.script
new file mode 100644
index 0000000000..ce8711aece
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T16563.script
@@ -0,0 +1 @@
+putStrLn "hello world"
diff --git a/testsuite/tests/ghci/scripts/T16563.stdout b/testsuite/tests/ghci/scripts/T16563.stdout
new file mode 100644
index 0000000000..9a71f81a4b
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T16563.stdout
@@ -0,0 +1,2 @@
+hello world
+
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T
index db619c142b..c388cdc588 100755
--- a/testsuite/tests/ghci/scripts/all.T
+++ b/testsuite/tests/ghci/scripts/all.T
@@ -296,5 +296,6 @@ test('T16089', normal, ghci_script, ['T16089.script'])
test('T14828', normal, ghci_script, ['T14828.script'])
test('T16376', normal, ghci_script, ['T16376.script'])
test('T16527', normal, ghci_script, ['T16527.script'])
+test('T16563', extra_hc_opts("-clear-package-db -global-package-db"), ghci_script, ['T16563.script'])
test('T16569', normal, ghci_script, ['T16569.script'])
test('T16767', normal, ghci_script, ['T16767.script'])