test.T 259 Bytes
Newer Older
1
def f(name, opts):
2
    opts.extra_hc_opts = '-XTemplateHaskell -package template-haskell'
3 4 5

setTestOpts(f)

6 7 8
test('TH_spliceViewPat',
     extra_clean(['Main.o', 'Main.hi', 'A.o', 'A.hi']),
     multimod_compile_and_run,
ian@well-typed.com's avatar
ian@well-typed.com committed
9
     ['Main', config.ghc_th_way_flags])