Commit ef4e8c54 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #9323

parent da7cfa99
module T9323 where
broken :: [Int]
broken = ()
ambiguous :: a -> String
ambiguous _ = show 0
T9323.hs:4:10:
Couldn't match expected type ‘[Int]’ with actual type ‘()’
In the expression: ()
In an equation for ‘broken’: broken = ()
......@@ -335,3 +335,4 @@ test('T9033', normal, compile_fail, [''])
test('T8883', normal, compile_fail, [''])
test('T9196', normal, compile_fail, [''])
test('T9305', normal, compile_fail, [''])
test('T9323', 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