Commit 26eee8d9 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Add a test for 2 trailing commas in the module export list

parent 8c6794ab
module ExportCommaComma (id, reverse,,) where
ExportCommaComma.hs:2:38: parse error on input `,'
......@@ -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, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment