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
c3c42c3e
Commit
c3c42c3e
authored
Oct 25, 2008
by
simonpj
Browse files
Test Trac
#2700
parent
ddb2a3d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/th/T2700.hs
0 → 100644
View file @
c3c42c3e
{-# LANGUAGE TemplateHaskell #-}
module
T2700
where
import
Language.Haskell.TH
import
System.IO
$
(
do
{
d
<-
sigD
(
mkName
"foo"
)
[
t
|
(Int -> Bool) -> Bool
|]
;
runIO
(
hPutStrLn
stderr
(
pprint
d
))
;
return
[]
}
)
testsuite/tests/ghc-regress/th/T2700.stderr
0 → 100644
View file @
c3c42c3e
foo :: (GHC.Types.Int -> GHC.Bool.Bool) -> GHC.Bool.Bool
testsuite/tests/ghc-regress/th/all.T
View file @
c3c42c3e
...
...
@@ -115,6 +115,7 @@ test('TH_ghci1', normal, ghci_script, ['TH_ghci1.script'])
test
('
TH_scope
',
normal
,
compile
,
[''])
test
('
T2632
',
normal
,
compile
,
[''])
test
('
T2700
',
normal
,
compile
,
['
-v0
'])
test
('
T2386
',
extra_clean
(['
T2386_Lib.hi
',
'
T2386_Lib.o
']),
run_command
,
...
...
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