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
e1d9ee14
Commit
e1d9ee14
authored
Nov 15, 2010
by
simonpj
Browse files
Test Snoyman's emailed data family deriving program
parent
ce026bc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/indexed-types/should_compile/DataFamDeriv.hs
0 → 100644
View file @
e1d9ee14
{-# LANGUAGE TypeFamilies #-}
module
DataFamDeriv
where
data
family
Foo
a
data
Bar
=
Bar
data
instance
Foo
Bar
=
Bar1
|
Bar2
|
Bar3
|
Bar4
|
Bar5
|
Bar6
|
Bar7
|
Bar8
|
Bar9
deriving
Eq
testsuite/tests/ghc-regress/indexed-types/should_compile/all.T
View file @
e1d9ee14
...
...
@@ -159,3 +159,4 @@ test('T4356', normal, compile, [''])
test
('
T4484
',
normal
,
compile
,
[''])
test
('
T4492
',
normal
,
compile
,
[''])
test
('
T4494
',
normal
,
compile
,
[''])
test
('
DataFamDeriv
',
normal
,
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