testsuite: Add test for #16563
authorBen Gamari <ben@smart-cactus.org>
Sun, 16 Jun 2019 21:13:15 +0000 (17:13 -0400)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sat, 22 Jun 2019 14:06:05 +0000 (10:06 -0400)
testsuite/tests/ghci/scripts/T16563.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T16563.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T

diff --git a/testsuite/tests/ghci/scripts/T16563.script b/testsuite/tests/ghci/scripts/T16563.script
new file mode 100644 (file)
index 0000000..ce8711a
--- /dev/null
@@ -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 (file)
index 0000000..9a71f81
--- /dev/null
@@ -0,0 +1,2 @@
+hello world
+
index db619c1..c388cdc 100755 (executable)
@@ -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'])