summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T20674/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T20674/all.T')
-rw-r--r--testsuite/tests/th/T20674/all.T10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/th/T20674/all.T b/testsuite/tests/th/T20674/all.T
new file mode 100644
index 0000000000..d85d0678b2
--- /dev/null
+++ b/testsuite/tests/th/T20674/all.T
@@ -0,0 +1,10 @@
+setTestOpts(req_interp)
+# TH should work with -fexternal-interpreter too
+if config.have_ext_interp :
+ setTestOpts(extra_ways(['ext-interp']))
+ setTestOpts(only_ways(['normal','ghci','ext-interp']))
+
+ if llvm_build():
+ setTestOpts(fragile_for(16087, ['ext-interp']))
+
+test('T20674', [expect_broken(20674), extra_files(['Main.hs', 'P.hs', 'foo.c', 'header.h'])], multimod_compile, ['Main', 'P foo.c'])