diff options
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/Test16212.hs')
-rw-r--r-- | testsuite/tests/ghc-api/annotations/Test16212.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/annotations/Test16212.hs b/testsuite/tests/ghc-api/annotations/Test16212.hs new file mode 100644 index 0000000000..6c2baad7e2 --- /dev/null +++ b/testsuite/tests/ghc-api/annotations/Test16212.hs @@ -0,0 +1,11 @@ +module Test16212 where + +class LiftingMonad (trans :: MTrans) where + proof :: Monad m :- Monad (trans m) + +class LiftingMonad2 ((trans :: MTrans)) where + proof :: Monad m :- Monad (trans m) + +data Nat (t :: NatKind) where + ZeroNat :: Nat Zero + SuccNat :: Nat t -> Nat (Succ t) |