Commit 4db47d87 authored by Ian Lynagh's avatar Ian Lynagh

Add a couple of tests for #3811

parent 27d3d60a
module T3811 where
f x :: Char
f x = 'c'
T3811.hs:4:1:
Invalid type signature: f x :: Char
Should be of form <variable> :: <type>
T3811b.hs:4:14:
parse error in constructor in data/newtype declaration: !B
......@@ -63,3 +63,5 @@ test('position002', normal, compile_fail, [''])
test('T1344a', normal, compile_fail, [''])
test('T1344b', normal, compile_fail, [''])
test('T1344c', normal, compile_fail, [''])
test('T3811', normal, compile_fail, [''])
test('T3811b', 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