diff options
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T21087.hs')
-rw-r--r-- | testsuite/tests/deriving/should_fail/T21087.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T21087.hs b/testsuite/tests/deriving/should_fail/T21087.hs new file mode 100644 index 0000000000..730dbac153 --- /dev/null +++ b/testsuite/tests/deriving/should_fail/T21087.hs @@ -0,0 +1,11 @@ +{-# language DataKinds #-} +{-# language DerivingVia #-} +{-# language TypeFamilies #-} + +module T21087 where + +import GHC.TypeLits + +data family Z :: k + +deriving via 0 instance KnownNat Z |