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
728751c6
Commit
728751c6
authored
Jul 12, 2005
by
simonpj
Browse files
[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
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