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,309
Issues
4,309
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
383
Merge Requests
383
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
728751c6
Commit
728751c6
authored
Jul 12, 2005
by
simonpj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2005-07-12 13:36:07 by simonpj]
Add unboxed-tuple binding test (was simpl008)
parent
e6a693f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
+1
-0
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail141.hs
...uite/tests/ghc-regress/typecheck/should_fail/tcfail141.hs
+11
-0
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail141.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail141.stderr
+4
-0
No files found.
testsuite/tests/ghc-regress/typecheck/should_fail/all.T
View file @
728751c6
...
...
@@ -125,3 +125,4 @@ test('tcfail137', normal, compile_fail, [''])
test
('
tcfail138
',
normal
,
compile_fail
,
[''])
test
('
tcfail139
',
normal
,
compile_fail
,
[''])
test
('
tcfail140
',
normal
,
compile_fail
,
[''])
test
('
tcfail141
',
only_compiler_types
(['
ghc
']),
compile_fail
,
[''])
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail141.hs
0 → 100644
View file @
728751c6
{-# OPTIONS -fglasgow-exts #-}
-- Should fail, because f :: (# Int#, ByteArray# #)
module
ShouldFail
where
import
GHC.Prim
main
::
IO
()
main
=
let
f
=
int2Integer
#
0
#
in
putStrLn
""
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail141.stderr
0 → 100644
View file @
728751c6
tcfail141.hs:10:11:
Illegal binding of unboxed tuple f :: (# Int#, ByteArray# #)
In the definition of `main': main = let f = int2Integer# 0# in putStrLn ""
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