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
4db47d87
Commit
4db47d87
authored
Aug 08, 2010
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a couple of tests for #3811
parent
27d3d60a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
0 deletions
+18
-0
testsuite/tests/ghc-regress/parser/should_fail/T3811.hs
testsuite/tests/ghc-regress/parser/should_fail/T3811.hs
+5
-0
testsuite/tests/ghc-regress/parser/should_fail/T3811.stderr
testsuite/tests/ghc-regress/parser/should_fail/T3811.stderr
+4
-0
testsuite/tests/ghc-regress/parser/should_fail/T3811b.hs
testsuite/tests/ghc-regress/parser/should_fail/T3811b.hs
+4
-0
testsuite/tests/ghc-regress/parser/should_fail/T3811b.stderr
testsuite/tests/ghc-regress/parser/should_fail/T3811b.stderr
+3
-0
testsuite/tests/ghc-regress/parser/should_fail/all.T
testsuite/tests/ghc-regress/parser/should_fail/all.T
+2
-0
No files found.
testsuite/tests/ghc-regress/parser/should_fail/T3811.hs
0 → 100644
View file @
4db47d87
module
T3811
where
f
x
::
Char
f
x
=
'c'
testsuite/tests/ghc-regress/parser/should_fail/T3811.stderr
0 → 100644
View file @
4db47d87
T3811.hs:4:1:
Invalid type signature: f x :: Char
Should be of form <variable> :: <type>
testsuite/tests/ghc-regress/parser/should_fail/T3811b.hs
0 → 100644
View file @
4db47d87
module
T3811b
where
data
Foo
a
=
!
B
testsuite/tests/ghc-regress/parser/should_fail/T3811b.stderr
0 → 100644
View file @
4db47d87
T3811b.hs:4:14:
parse error in constructor in data/newtype declaration: !B
testsuite/tests/ghc-regress/parser/should_fail/all.T
View file @
4db47d87
...
...
@@ -63,3 +63,5 @@ test('position002', normal, compile_fail, [''])
test
('
T1344a
',
normal
,
compile_fail
,
[''])
test
('
T1344b
',
normal
,
compile_fail
,
[''])
test
('
T1344c
',
normal
,
compile_fail
,
[''])
test
('
T3811
',
normal
,
compile_fail
,
[''])
test
('
T3811b
',
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