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,249
Issues
4,249
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
391
Merge Requests
391
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
6137c0f3
Commit
6137c0f3
authored
Mar 28, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#5955
parent
9734a93f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
0 deletions
+31
-0
testsuite/tests/indexed-types/should_compile/Makefile
testsuite/tests/indexed-types/should_compile/Makefile
+5
-0
testsuite/tests/indexed-types/should_compile/T5955.hs
testsuite/tests/indexed-types/should_compile/T5955.hs
+7
-0
testsuite/tests/indexed-types/should_compile/T5955a.hs
testsuite/tests/indexed-types/should_compile/T5955a.hs
+13
-0
testsuite/tests/indexed-types/should_compile/all.T
testsuite/tests/indexed-types/should_compile/all.T
+6
-0
No files found.
testsuite/tests/indexed-types/should_compile/Makefile
View file @
6137c0f3
...
...
@@ -13,3 +13,8 @@ IndTypesPerf:
$(RM)
IndTypesPerfMerge.o IndTypesPerfMerge.hi
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-O
-c
IndTypesPerfMerge.hs +RTS
-M20M
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-O
-c
IndTypesPerf.hs +RTS
-M20M
T5955
:
$(RM)
T5955.o T5955.hi T5955a.o T5955a.hi
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T5955a.hs
'
$(TEST_HC)
'
$(TEST_HC_OPTS)
-c
T5955.hs
testsuite/tests/indexed-types/should_compile/T5955.hs
0 → 100644
View file @
6137c0f3
module
T5955
where
import
T5955a
foo
::
()
foo
=
()
testsuite/tests/indexed-types/should_compile/T5955a.hs
0 → 100644
View file @
6137c0f3
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TypeFamilies #-}
module
T5955a
where
class
(
Eq
(
Multi
a
))
=>
MultiPrim
a
where
data
Multi
a
instance
MultiPrim
Int
where
newtype
Multi
Int
=
MultiInt
Int
deriving
(
Eq
)
testsuite/tests/indexed-types/should_compile/all.T
View file @
6137c0f3
...
...
@@ -182,3 +182,9 @@ test('ClassEqContext3', normal, compile, [''])
test
('
HO
',
normal
,
compile
,
[''])
# The point about this test is that it compiles the two T5955
# modules *separately*
test
('
T5955
',
extra_clean
(['
T5955.o
',
'
T5955.hi
',
'
T5955a.o
',
'
T5955a.hi
']),
run_command
,
['
$MAKE -s --no-print-directory T5955
'])
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