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
26eee8d9
Commit
26eee8d9
authored
May 19, 2013
by
ian@well-typed.com
Browse files
Add a test for 2 trailing commas in the module export list
parent
8c6794ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/parser/should_fail/ExportCommaComma.hs
0 → 100644
View file @
26eee8d9
module
ExportCommaComma
(
id
,
reverse
,,)
where
testsuite/tests/parser/should_fail/ExportCommaComma.stderr
0 → 100644
View file @
26eee8d9
ExportCommaComma.hs:2:38: parse error on input `,'
testsuite/tests/parser/should_fail/all.T
View file @
26eee8d9
...
...
@@ -78,3 +78,4 @@ test('ParserNoMultiWayIf', when(compiler_lt('ghc', '7.5'), skip), compile_fail,
test
('
T5425
',
normal
,
compile_fail
,
[''])
test
('
T984
',
normal
,
compile_fail
,
[''])
test
('
T7848
',
normal
,
compile_fail
,
['
-dppr-user-length=100
'])
test
('
ExportCommaComma
',
normal
,
compile_fail
,
[''])
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