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
263e0f51
Commit
263e0f51
authored
Nov 25, 2010
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
And and update RelaxedLayout tests
parent
808d4a1f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
testsuite/tests/ghc-regress/parser/should_compile/all.T
testsuite/tests/ghc-regress/parser/should_compile/all.T
+1
-0
testsuite/tests/ghc-regress/parser/should_compile/read069.hs
testsuite/tests/ghc-regress/parser/should_compile/read069.hs
+8
-0
testsuite/tests/ghc-regress/parser/should_fail/all.T
testsuite/tests/ghc-regress/parser/should_fail/all.T
+1
-4
testsuite/tests/ghc-regress/parser/should_fail/readFail027.hs
...suite/tests/ghc-regress/parser/should_fail/readFail027.hs
+2
-0
testsuite/tests/ghc-regress/parser/should_fail/readFail027.stderr
...e/tests/ghc-regress/parser/should_fail/readFail027.stderr
+2
-0
No files found.
testsuite/tests/ghc-regress/parser/should_compile/all.T
View file @
263e0f51
...
...
@@ -80,6 +80,7 @@ test('read065', omit_ways(['optc', 'profc']), compile, [''])
test
('
read066
',
normal
,
compile
,
[''])
test
('
read067
',
normal
,
compile
,
[''])
test
('
read068
',
normal
,
compile
,
[''])
test
('
read069
',
normal
,
compile
,
[''])
test
('
read_1821
',
normal
,
compile
,
[''])
test
('
T3303
',
extra_clean
(['
T3303A.hi
',
'
T3303A.o
']),
multimod_compile
,
['
T3303
',
'
-v0
'])
...
...
testsuite/tests/ghc-regress/parser/should_compile/read069.hs
0 → 100644
View file @
263e0f51
{-# LANGUAGE RelaxedLayout #-}
module
ShouldFail
where
f
x
=
case
x
of
False
->
do
{
return
x
;
}
testsuite/tests/ghc-regress/parser/should_fail/all.T
View file @
263e0f51
...
...
@@ -30,10 +30,7 @@ test('readFail023', normal, compile_fail, [''])
test
('
readFail024
',
normal
,
compile_fail
,
[''])
test
('
readFail025
',
normal
,
compile_fail
,
[''])
test
('
readFail026
',
normal
,
compile_fail
,
[''])
# Fails in GHC 6.2+
test
('
readFail027
',
if_compiler_type
('
ghc
',
expect_broken
(
1060
)),
compile_fail
,
[''])
test
('
readFail027
',
normal
,
compile_fail
,
[''])
test
('
readFail028
',
normal
,
compile_fail
,
[''])
test
('
readFail029
',
normal
,
compile_fail
,
[''])
test
('
readFail030
',
normal
,
compile_fail
,
[''])
...
...
testsuite/tests/ghc-regress/parser/should_fail/readFail027.hs
View file @
263e0f51
{-# LANGUAGE NoRelaxedLayout #-}
module
ShouldFail
where
-- Erroneously allowed by GHC 6.2.x
...
...
testsuite/tests/ghc-regress/parser/should_fail/readFail027.stderr
0 → 100644
View file @
263e0f51
readFail027.hs:8:5: Missing block
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