Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
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
Alex D
GHC
Commits
7361acf4
Commit
7361acf4
authored
Feb 01, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for #984
parent
1c81f61e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
testsuite/tests/parser/should_fail/T984.hs
testsuite/tests/parser/should_fail/T984.hs
+9
-0
testsuite/tests/parser/should_fail/T984.stderr
testsuite/tests/parser/should_fail/T984.stderr
+4
-0
testsuite/tests/parser/should_fail/all.T
testsuite/tests/parser/should_fail/all.T
+1
-0
No files found.
testsuite/tests/parser/should_fail/T984.hs
0 → 100644
View file @
7361acf4
module
T984
where
f
_
=
do
x
<-
computation
case
()
of
_
->
result
<-
computation
case
()
of
()
->
undefined
testsuite/tests/parser/should_fail/T984.stderr
0 → 100644
View file @
7361acf4
T984.hs:6:9:
Parse error in pattern: case () of { _ -> result }
Possibly caused by a missing 'do'?
testsuite/tests/parser/should_fail/all.T
View file @
7361acf4
...
...
@@ -76,3 +76,4 @@ test('ParserNoLambdaCase', if_compiler_lt('ghc', '7.5', skip), compile_fail, [''
test
('
ParserNoMultiWayIf
',
if_compiler_lt
('
ghc
',
'
7.5
',
skip
),
compile_fail
,
[''])
test
('
T5425
',
normal
,
compile_fail
,
[''])
test
('
T984
',
normal
,
compile_fail
,
[''])
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