summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T18271.hs
blob: 2441fa7318f597bc3c3cade17c29f0dd0a6cacc5 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE StandaloneDeriving #-}
module T18271 where

class C a
deriving instance forall a -> C (Maybe a)