Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Francesco Gazzetta
Glasgow Haskell Compiler
Commits
054abe3d
Commit
054abe3d
authored
Feb 03, 2018
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite: Add testcase for #14754
(cherry picked from commit
606edbfb
)
parent
f0cae1f2
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 @
054abe3d
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 @
054abe3d
(3,1)
(2,1)
testsuite/tests/codeGen/should_run/T14754.stdout
0 → 100644
View file @
054abe3d
1
testsuite/tests/codeGen/should_run/all.T
View file @
054abe3d
...
...
@@ -166,3 +166,4 @@ test('T13825-unit',
compile_and_run
,
['
-package ghc
'])
test
('
T14619
',
normal
,
compile_and_run
,
[''])
test
('
T14754
',
normal
,
compile_and_run
,
[''])
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