Commit e85a2536 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add some tests for error positions

parent 270545dd
......@@ -54,3 +54,7 @@ test('read044', normal, compile_fail, [''])
test('read045', if_compiler_lt('ghc', '6.11', skip), compile_fail, [''])
test('T3095', normal, compile_fail, [''])
test('T3153', normal, compile_fail, [''])
test('position001', normal, compile_fail, [''])
test('position002', normal, compile_fail, [''])
module T where
-- We should get a parse error on column 33
-- Indented with spaces:
foo = 123456 module
position001.hs:6:33: parse error on input `module'
module T where
-- We should get a parse error on column 33
-- Indented with tabs:
foo = 123456 module
position002.hs:6:33: parse error on input `module'
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