Commit 86403bf7 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #6039

parent e4c802d0
{-# LANGUAGE PolyKinds, KindSignatures #-}
module Foo where
data T (a :: j k) = MkT
Kind variable `j' cannot appear in a function position
In the kind `j k'
In the data declaration for `T'
......@@ -37,3 +37,4 @@ test('T5948', normal, compile, [''])
test('T6020', normal, compile, [''])
test('T6025', normal, run_command, ['$MAKE -s --no-print-directory T6025'])
test('T6002', normal, compile, [''])
test('T6039', normal, compile_fail, [''])
Supports Markdown
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