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
d07dcb88
Commit
d07dcb88
authored
Mar 06, 2007
by
Ian Lynagh
Browse files
Add a test (TH_reifyDecl2) for trac #1199
parent
f193f3a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/th/TH_reifyDecl2.hs
0 → 100644
View file @
d07dcb88
module
TH_reifyDecl2
where
import
Language.Haskell.TH
import
System.IO
$
(
do
x
<-
reify
''Maybe
runIO
$
hPutStrLn
stderr
$
pprint
x
return
[]
)
testsuite/tests/ghc-regress/th/TH_reifyDecl2.stderr
0 → 100644
View file @
d07dcb88
data Data.Maybe.Maybe a_0 = Data.Maybe.Nothing
| Data.Maybe.Just a_0
testsuite/tests/ghc-regress/th/all.T
View file @
d07dcb88
...
...
@@ -35,6 +35,7 @@ test('TH_spliceD2', normal, multimod_compile, ['TH_spliceD2', '-v0'])
clean
(['
TH_spliceD2_Lib.hi
',
'
TH_spliceD2_Lib.o
'])
test
('
TH_reifyDecl1
',
normal
,
compile
,
[''])
test
('
TH_reifyDecl2
',
normal
,
compile
,
['
-v0
'])
test
('
TH_reifyType1
',
normal
,
compile
,
[''])
test
('
TH_reifyType2
',
normal
,
compile
,
[''])
...
...
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