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
d31d4958
Commit
d31d4958
authored
Jul 23, 2009
by
simonpj
Browse files
Test standalone deriving for GADTs
parent
f7765c4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deriving/should_compile/T3012.hs
0 → 100644
View file @
d31d4958
{-# LANGUAGE GADTs, StandaloneDeriving #-}
module
T3012
where
data
T
a
where
Foo
::
T
Int
Bar
::
T
Bool
deriving
instance
Show
(
T
a
)
testsuite/tests/ghc-regress/deriving/should_compile/all.T
View file @
d31d4958
...
...
@@ -19,6 +19,7 @@ test('deriving-1935', normal, compile, [''])
test
('
T2378
',
normal
,
compile
,
[''])
test
('
T2856
',
normal
,
compile
,
[''])
test
('
T3057
',
if_compiler_lt
('
ghc
',
'
6.11
',
expect_fail
),
compile
,
[''])
test
('
T3012
',
normal
,
compile
,
[''])
test
('
drv-functor1
',
if_compiler_lt
('
ghc
',
'
6.11
',
expect_fail
),
compile
,
...
...
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