summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T12081.hs
blob: f68de420cb3f9fcc47df284b31d099734e1f9b2c (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TypeInType #-}

module T12081 where

data Nat = Z | S Nat

class C (n :: Nat) where
  type T n :: Nat
  f :: (a :: T n)