Commit 25c3dd39 authored by Simon Peyton Jones's avatar Simon Peyton Jones Committed by Marge Bot

Test Trac #16263

parent 07f378ce
Pipeline #3197 passed with stages
in 321 minutes and 17 seconds
{-# LANGUAGE GADTs, TypeInType, EmptyDataDecls #-}
module T16263 where
import Data.Kind
data Q :: Eq a => Type where {}
T16263.hs:7:1: error: Illegal constraint in a kind: Eq a => *
......@@ -210,3 +210,4 @@ test('KindVarOrder', normal, ghci_script, ['KindVarOrder.script'])
test('T16221', normal, compile, [''])
test('T16221a', normal, compile_fail, [''])
test('T16342', normal, compile, [''])
test('T16263', 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