summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T21087.hs
blob: 730dbac1530277e786789d72361000ee509932dd (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# language DataKinds #-}
{-# language DerivingVia #-}
{-# language TypeFamilies #-}

module T21087 where

import GHC.TypeLits

data family Z :: k

deriving via 0 instance KnownNat Z