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,322
Issues
4,322
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
362
Merge Requests
362
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
1a135511
Commit
1a135511
authored
Sep 19, 2015
by
eir@cis.upenn.edu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test #10347
parent
1637e4d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
testsuite/tests/typecheck/should_compile/T10347.hs
testsuite/tests/typecheck/should_compile/T10347.hs
+10
-0
testsuite/tests/typecheck/should_compile/all.T
testsuite/tests/typecheck/should_compile/all.T
+1
-0
No files found.
testsuite/tests/typecheck/should_compile/T10347.hs
0 → 100644
View file @
1a135511
{-# LANGUAGE -fwarn-unusued-bindings #-}
module
T10347
(
N
,
mkN
)
where
import
Data.Coerce
newtype
N
a
=
MkN
Int
mkN
::
Int
->
N
a
mkN
=
coerce
testsuite/tests/typecheck/should_compile/all.T
View file @
1a135511
...
...
@@ -474,3 +474,4 @@ test('T10632', normal, compile, [''])
test
('
T10642
',
normal
,
compile
,
[''])
test
('
T10744
',
normal
,
compile
,
[''])
test
('
update-existential
',
normal
,
compile
,
[''])
test
('
T10347
',
expect_broken
(
10347
),
compile
,
[''])
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