Commit cbd0b9c2 authored by simonpj's avatar simonpj
Browse files

Add test for Trac 877

parent c1935a44
module TH_spliceD2 where
import qualified TH_spliceD2_Lib
$( [d| data T = T TH_spliceD2_Lib.T |] )
module TH_spliceD2_Lib where
data T = T Int
......@@ -24,6 +24,10 @@ clean(['TH_spliceE5_Lib.hi', 'TH_spliceE5_Lib.o'])
test('TH_spliceD1', normal, multimod_compile_fail, ['TH_spliceD1', '-v0'])
clean(['TH_spliceD1_Lib.hi', 'TH_spliceD1_Lib.o'])
test('TH_spliceD2', normal, multimod_compile, ['TH_spliceD2', '-v0'])
clean(['TH_spliceD2_Lib.hi', 'TH_spliceD2_Lib.o'])
# Testing profiling with TH is a bit tricky; we've already disabled
# the prof way above, and also we want to add options specifically for
# profiling (-osof p_o) because this is necessary when mixing
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment