Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
2cd7f402
Commit
2cd7f402
authored
Jul 08, 2007
by
Ian Lynagh
Browse files
Add tests for -XParallelListComp
parent
ff65996a
Changes
6
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/parser/should_compile/all.T
View file @
2cd7f402
...
...
@@ -60,3 +60,5 @@ test('read050', normal, compile, [''])
test
('
read051
',
normal
,
compile
,
[''])
test
('
read052
',
normal
,
compile
,
[''])
test
('
read053
',
normal
,
compile
,
[''])
test
('
read054
',
normal
,
compile
,
[''])
test
('
read055
',
normal
,
compile
,
[''])
testsuite/tests/ghc-regress/parser/should_compile/read054.hs
0 → 100644
View file @
2cd7f402
{-# OPTIONS_GHC -XParallelListComp #-}
module
Foo
where
foo
=
[
()
|
()
<-
foo
|
()
<-
foo
]
testsuite/tests/ghc-regress/parser/should_compile/read055.hs
0 → 100644
View file @
2cd7f402
{-# LANGUAGE ParallelListComp #-}
module
Foo
where
foo
=
[
()
|
()
<-
foo
|
()
<-
foo
]
testsuite/tests/ghc-regress/parser/should_fail/all.T
View file @
2cd7f402
...
...
@@ -44,3 +44,4 @@ test('read034', normal, compile_fail, [''])
test
('
read035
',
normal
,
compile_fail
,
[''])
test
('
read036
',
normal
,
compile_fail
,
[''])
test
('
read037
',
normal
,
compile_fail
,
[''])
test
('
read038
',
normal
,
compile_fail
,
[''])
testsuite/tests/ghc-regress/parser/should_fail/read038.hs
0 → 100644
View file @
2cd7f402
module
Foo
where
foo
=
[
()
|
()
<-
foo
|
()
<-
foo
]
testsuite/tests/ghc-regress/parser/should_fail/read038.stderr
0 → 100644
View file @
2cd7f402
read038.hs:4:6:
Illegal parallel list comprehension: use -XParallelListComp
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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