Skip to content
GitLab
Menu
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
db8f08c0
Commit
db8f08c0
authored
Oct 03, 2008
by
simonpj
Browse files
Add test for Trac
#2632
parent
ab724eab
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/th/T2632.hs
0 → 100644
View file @
db8f08c0
{-# LANGUAGE TemplateHaskell #-}
-- Trac #2632
module
MkData
where
import
Language.Haskell.TH
op
a
b
=
a
+
b
decl1
=
[
d
|
func = 0 `op` 3
|]
decl2
=
[
d
|
op x = x
func = 0 `op` 3
|]
testsuite/tests/ghc-regress/th/all.T
View file @
db8f08c0
...
...
@@ -114,6 +114,7 @@ test('TH_runIO', normal, compile_fail, ['-v0'])
test
('
TH_ghci1
',
normal
,
ghci_script
,
['
TH_ghci1.script
'])
test
('
TH_scope
',
normal
,
compile
,
[''])
test
('
T2632
',
normal
,
compile
,
[''])
test
('
T2386
',
extra_clean
(['
T2386_Lib.hi
',
'
T2386_Lib.o
']),
run_command
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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