Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
65a5305e
Commit
65a5305e
authored
Aug 02, 2013
by
eir@cis.upenn.edu
Browse files
Add new test for
#8020
.
parent
5207c0ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/indexed-types/should_compile/T8020.hs
0 → 100644
View file @
65a5305e
{-# LANGUAGE TypeFamilies #-}
module
T8020
where
type
family
F
a
b
where
F
(
Maybe
a
)
[
a
]
=
Int
F
b
c
=
Bool
data
Proxy
a
=
P
type
family
G
foo
::
Proxy
d
->
F
d
d
->
Bool
foo
_
=
not
bar
::
Bool
->
Bool
bar
=
foo
(
P
::
Proxy
G
)
testsuite/tests/indexed-types/should_compile/all.T
View file @
65a5305e
...
...
@@ -226,4 +226,5 @@ test('T8011',
run_command
,
['
$MAKE -s --no-print-directory T8011
'])
test
('
T8018
',
normal
,
compile
,
[''])
\ No newline at end of file
test
('
T8018
',
normal
,
compile
,
[''])
test
('
T8020
',
normal
,
compile
,
[''])
\ No newline at end of file
Write
Preview
Markdown
is supported
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