Commit 0534f09f authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #5922

parent 3c08377f
module T5922 where
data Proposition = Proposition deriving (show)
T5922.hs:3:42:
Illegal deriving item `show'
In the data type declaration for `Proposition'
...@@ -35,4 +35,5 @@ test('T4528', normal, compile_fail, ['']) ...@@ -35,4 +35,5 @@ test('T4528', normal, compile_fail, [''])
test('T5287', normal, compile_fail, ['']) test('T5287', normal, compile_fail, [''])
test('T5478', normal, compile_fail, ['']) test('T5478', normal, compile_fail, [''])
test('T5686', normal, compile_fail, ['']) test('T5686', normal, compile_fail, [''])
test('T5922', 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