Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
9b2d9d81
Commit
9b2d9d81
authored
Jan 22, 2013
by
dterei
Browse files
Add test for T7575.
parent
531a441b
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/llvm/should_compile/T7575.hs
0 → 100644
View file @
9b2d9d81
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE MagicHash, UnliftedFFITypes #-}
module
T7575
where
import
GHC.Prim
import
GHC.Word
import
GHC.Types
foreign
import
ccall
unsafe
"hs_eqWord64"
dummy_eqWord64
#
::
Word64
#
->
Word64
#
->
Bool
check
::
Word64
->
Word64
->
Bool
check
(
W64
#
x
#
)
(
W64
#
y
#
)
=
dummy_eqWord64
#
x
#
y
#
check2
::
Word64
->
Bool
check2
x
=
check
x
0
testsuite/tests/llvm/should_compile/all.T
View file @
9b2d9d81
...
...
@@ -11,3 +11,4 @@ test('5486', normal, compile, [''])
test
('
5681
',
normal
,
compile
,
[''])
test
('
6158
',
[
reqlib
('
vector
'),
reqlib
('
primitive
')],
compile
,
['
-package vector -package primitive
'])
test
('
T7571
',
cmm_src
,
compile
,
[''])
test
('
T7575
',
normal
,
compile
,
[''])
Write
Preview
Supports
Markdown
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