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

Test Trac #6021

parent 109f8bf6
{-# LANGUAGE KindSignatures, MultiParamTypeClasses #-}
module T6021 where
class Panic a b
instance Panic (a :: b) b
Type variable `b' used as a kind
In the kind `b'
In the instance declaration for `Panic (a :: b) b'
......@@ -40,3 +40,4 @@ test('T6036', normal, compile, [''])
test('T6025', normal, run_command, ['$MAKE -s --no-print-directory T6025'])
test('T6002', normal, compile, [''])
test('T6039', normal, compile_fail, [''])
test('T6021', 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