summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorRoland Senn <rsx@bluewin.ch>2019-01-28 10:53:50 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-01-28 16:53:59 -0500
commit7cdcd3e12a5c3a337e36fa80c64bd72e5ef79b24 (patch)
tree6e5e940cb2c6ae9110807fa0d637a280c63b4220 /testsuite
parentb1e569a54085bf1093b4f858f8c7c739e3be769b (diff)
downloadhaskell-7cdcd3e12a5c3a337e36fa80c64bd72e5ef79b24.tar.gz
Fix #12509: ghci -XSafe fails in an inscrutable way
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/safeHaskell/ghci/T12509.script0
-rw-r--r--testsuite/tests/safeHaskell/ghci/all.T1
2 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/T12509.script b/testsuite/tests/safeHaskell/ghci/T12509.script
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/testsuite/tests/safeHaskell/ghci/T12509.script
diff --git a/testsuite/tests/safeHaskell/ghci/all.T b/testsuite/tests/safeHaskell/ghci/all.T
index 787cb7e6b7..040cc288f9 100644
--- a/testsuite/tests/safeHaskell/ghci/all.T
+++ b/testsuite/tests/safeHaskell/ghci/all.T
@@ -18,4 +18,5 @@ test('p16', normal, ghci_script, ['p16.script'])
test('p17', normalise_version("bytestring"), ghci_script, ['p17.script'])
# 7172
test('p18', normalise_version("bytestring"), ghci_script, ['p18.script'])
+test('T12509', [extra_hc_opts('-XSafe')], ghci_script, ['T12509.script'])