Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c7a5730b
Commit
c7a5730b
authored
Oct 04, 2012
by
afarmer
Committed by
ian@well-typed.com
Nov 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for
#7162
: RULES that never fire automatically
parent
31e246df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
testsuite/tests/simplCore/should_compile/T7162.hs
testsuite/tests/simplCore/should_compile/T7162.hs
+9
-0
testsuite/tests/simplCore/should_compile/T7162.stderr
testsuite/tests/simplCore/should_compile/T7162.stderr
+0
-0
testsuite/tests/simplCore/should_compile/all.T
testsuite/tests/simplCore/should_compile/all.T
+1
-0
No files found.
testsuite/tests/simplCore/should_compile/T7162.hs
0 → 100644
View file @
c7a5730b
import
Data.Char
{-# RULES "map-loop" [~] forall f . map' f = map' (id . f) #-}
{-# NOINLINE map' #-}
map'
f
[]
=
[]
map'
f
(
x
:
xs
)
=
f
x
:
map'
f
xs
main
=
print
(
map'
toUpper
"Hello, World"
)
testsuite/tests/simplCore/should_compile/T7162.stderr
0 → 100644
View file @
c7a5730b
testsuite/tests/simplCore/should_compile/all.T
View file @
c7a5730b
...
...
@@ -35,6 +35,7 @@ test('spec003', normal, compile, [''])
test
('
rule1
',
normal
,
compile
,
[''])
test
('
rule2
',
only_ways
(['
optasm
']),
compile
,
['
-dsuppress-uniques
'])
test
('
T7162
',
normal
,
compile
,
[''])
test
('
dfun-loop
',
normal
,
compile
,
[''])
test
('
strict-float
',
normal
,
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