Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
cbd0b9c2
Commit
cbd0b9c2
authored
Sep 07, 2006
by
simonpj
Browse files
Add test for Trac 877
parent
c1935a44
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/th/TH_spliceD2.hs
0 → 100644
View file @
cbd0b9c2
module
TH_spliceD2
where
import
qualified
TH_spliceD2_Lib
$
(
[
d
|
data T = T TH_spliceD2_Lib.T
|]
)
testsuite/tests/ghc-regress/th/TH_spliceD2_Lib.hs
0 → 100644
View file @
cbd0b9c2
module
TH_spliceD2_Lib
where
data
T
=
T
Int
testsuite/tests/ghc-regress/th/all.T
View file @
cbd0b9c2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment