Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,334
Issues
4,334
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
368
Merge Requests
368
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
40cd71a9
Commit
40cd71a9
authored
Aug 02, 2013
by
eir@cis.upenn.edu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://darcs.haskell.org/srv/darcs/testsuite
parents
929155fa
65a5305e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
testsuite/tests/indexed-types/should_compile/T8020.hs
testsuite/tests/indexed-types/should_compile/T8020.hs
+17
-0
testsuite/tests/indexed-types/should_compile/all.T
testsuite/tests/indexed-types/should_compile/all.T
+2
-1
No files found.
testsuite/tests/indexed-types/should_compile/T8020.hs
0 → 100644
View file @
40cd71a9
{-# 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 @
40cd71a9
...
...
@@ -227,3 +227,4 @@ test('T8011',
['
$MAKE -s --no-print-directory T8011
'])
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