Skip to content
GitLab
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
26159e96
Commit
26159e96
authored
Sep 14, 2010
by
simonpj
Browse files
Test Trac
#4306
parent
7b5674ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/simplCore/should_compile/Makefile
View file @
26159e96
...
...
@@ -11,3 +11,9 @@ T3772:
$(RM)
-f
rm
-f
T3772
*
.hi T3772
*
.o
'
$(TEST_HC)
'
-c
-O
T3772_A.hs
'
$(TEST_HC)
'
-c
-O
T3772.hs
-dsuppress-uniques
-ddump-simpl
T4306
:
$(RM)
-f
rm
-f
T4306.hi T4306.o
'
$(TEST_HC)
'
-c
-O
T4306.hs
'
$(TEST_HC)
'
--show-iface
T4306.hi |
grep
'wupd ::'
testsuite/tests/ghc-regress/simplCore/should_compile/T4306.hs
0 → 100644
View file @
26159e96
-- Trac #4306
-- Check that the worker for 'upd' has only one argument
module
T4306
where
data
D
=
D
{-# UNPACK #-}
!
Double
{-# UNPACK #-}
!
Double
data
UPD
=
UPD
{-# UNPACK #-}
!
Double
D
upd
(
UPD
_
(
D
x
_
))
=
sqrt
$!
(
x
*
x
+
x
*
x
+
sin
x
)
testsuite/tests/ghc-regress/simplCore/should_compile/T4306.stdout
0 → 100644
View file @
26159e96
$wupd :: GHC.Prim.Double# -> GHC.Prim.Double#
testsuite/tests/ghc-regress/simplCore/should_compile/all.T
View file @
26159e96
...
...
@@ -68,6 +68,11 @@ test('T3055',
run_command
,
['
$MAKE -s --no-print-directory T3055
'])
test
('
T4306
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory T4306
'])
test
('
T3772
',
# only_ways(['optc','optasm']),
extra_clean
(['
T3772_A.hi
',
'
T3772_A.o
']),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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