summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/all.T
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-04-08 11:44:09 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-12 13:51:23 -0400
commit18cbff86ec0cd3d06e99e3a00753cd66153210b5 (patch)
treefa4e1780edcf158de1a711776e6fc98d3eb74cf9 /testsuite/tests/th/all.T
parent792d9289434cb7418a559cd4157ee3bfaef54c99 (diff)
downloadhaskell-18cbff86ec0cd3d06e99e3a00753cd66153210b5.tar.gz
template-haskell: Run TH splices with err_vars from current context
Otherwise, errors can go missing which arise when running the splices. Fixes #19470
Diffstat (limited to 'testsuite/tests/th/all.T')
-rw-r--r--testsuite/tests/th/all.T1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T
index fbc8428503..564649b373 100644
--- a/testsuite/tests/th/all.T
+++ b/testsuite/tests/th/all.T
@@ -521,3 +521,4 @@ test('T18740d', normal, compile_fail, [''])
test('T19363', normal, compile_and_run, [''])
test('T19377', normal, compile, [''])
test('T17804', normal, compile, [''])
+test('T19470', only_ways(['ghci']), ghci_script, ['T19470.script'])