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
606edbfb
Commit
606edbfb
authored
Feb 03, 2018
by
Ben Gamari
🐢
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite: Add testcase for
#14754
parent
50adbd7c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
testsuite/tests/codeGen/should_run/T14754.hs
testsuite/tests/codeGen/should_run/T14754.hs
+15
-0
testsuite/tests/codeGen/should_run/T14754.stderr
testsuite/tests/codeGen/should_run/T14754.stderr
+2
-0
testsuite/tests/codeGen/should_run/T14754.stdout
testsuite/tests/codeGen/should_run/T14754.stdout
+1
-0
testsuite/tests/codeGen/should_run/all.T
testsuite/tests/codeGen/should_run/all.T
+1
-0
No files found.
testsuite/tests/codeGen/should_run/T14754.hs
0 → 100644
View file @
606edbfb
module
Main
where
import
Debug.Trace
main
::
IO
()
main
=
print
(
alg
3
1
)
alg
::
Word
->
Word
->
Word
alg
a
b
|
traceShow
(
a
,
b
)
False
=
undefined
|
c
<
b
=
alg
b
c
|
c
>
b
=
alg
c
b
|
otherwise
=
c
where
c
=
a
-
b
testsuite/tests/codeGen/should_run/T14754.stderr
0 → 100644
View file @
606edbfb
(3,1)
(2,1)
testsuite/tests/codeGen/should_run/T14754.stdout
0 → 100644
View file @
606edbfb
1
testsuite/tests/codeGen/should_run/all.T
View file @
606edbfb
...
...
@@ -166,3 +166,4 @@ test('T13825-unit',
compile_and_run
,
['
-package ghc
'])
test
('
T14619
',
normal
,
compile_and_run
,
[''])
test
('
T14754
',
normal
,
compile_and_run
,
[''])
Administrator
@root
mentioned in commit
054abe3d
·
Dec 17, 2018
mentioned in commit
054abe3d
mentioned in commit 054abe3de4a44b112f1f8155fa6be9fd19b03e1d
Toggle commit list
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