summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T18455.hs
blob: ad151ae9a7ec2e632fe27f06abf7ba339b280303 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE RankNTypes #-}
module T18455 where

class C a

instance C (Either a b) where
  {-# SPECIALISE instance forall a. forall b. C (Either a b) #-}