summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes/TH_spliceViewPat/test.T
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-05-04 17:06:24 -0700
committerEdward Z. Yang <ezyang@cs.stanford.edu>2015-05-09 01:26:04 -0700
commit21c72e7d38c96ac80d31addf67ae4b3c7a6c3bbb (patch)
tree13fc03b7fa14bb808c69217731e778a392a013b1 /testsuite/tests/quotes/TH_spliceViewPat/test.T
parent28257cae77023f2ccc4cc1c0cd1fbbd329947a00 (diff)
downloadhaskell-21c72e7d38c96ac80d31addf67ae4b3c7a6c3bbb.tar.gz
Split off quotes/ from th/ for tests that can be done on stage1 compiler.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: run these tests with stage1 Reviewers: simonpj, austin Subscribers: bgamari, thomie Differential Revision: https://phabricator.haskell.org/D877 GHC Trac Issues: #10382
Diffstat (limited to 'testsuite/tests/quotes/TH_spliceViewPat/test.T')
-rw-r--r--testsuite/tests/quotes/TH_spliceViewPat/test.T9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/quotes/TH_spliceViewPat/test.T b/testsuite/tests/quotes/TH_spliceViewPat/test.T
new file mode 100644
index 0000000000..3075ef4b1f
--- /dev/null
+++ b/testsuite/tests/quotes/TH_spliceViewPat/test.T
@@ -0,0 +1,9 @@
+def f(name, opts):
+ opts.extra_hc_opts = '-XTemplateHaskell -package template-haskell'
+
+setTestOpts(f)
+
+test('TH_spliceViewPat',
+ extra_clean(['Main.o', 'Main.hi', 'A.o', 'A.hi']),
+ multimod_compile_and_run,
+ ['Main', config.ghc_th_way_flags])