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
7b5674ce
Commit
7b5674ce
authored
Sep 13, 2010
by
simonpj
Browse files
Add test for Trac
#4302
parent
c50f4560
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deriving/should_compile/T4302.hs
0 → 100644
View file @
7b5674ce
{-# LANGUAGE StandaloneDeriving, DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, EmptyDataDecls #-}
module
T4302
where
import
Ix
import
Data.Typeable
import
Data.Data
import
Data.Foldable
import
Data.Traversable
data
Test
a
deriving
instance
Eq
(
Test
a
)
deriving
instance
Ord
(
Test
a
)
deriving
instance
Typeable1
Test
deriving
instance
Data
a
=>
Data
(
Test
a
)
deriving
instance
Functor
Test
deriving
instance
Foldable
Test
deriving
instance
Traversable
Test
testsuite/tests/ghc-regress/deriving/should_compile/all.T
View file @
7b5674ce
...
...
@@ -22,6 +22,7 @@ test('T3057', if_compiler_lt('ghc', '6.11', expect_fail), compile, [''])
test
('
T3012
',
normal
,
compile
,
[''])
test
('
T3965
',
normal
,
compile
,
[''])
test
('
T4220
',
normal
,
compile
,
[''])
test
('
T4302
',
normal
,
compile
,
[''])
test
('
drv-functor1
',
if_compiler_lt
('
ghc
',
'
6.11
',
expect_fail
),
...
...
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