summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles/should_compile/Roles14.hs
blob: 121aad7b874beb4c7effeed33e32a44618feb212 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE RoleAnnotations, IncoherentInstances #-}

module Roles12 where

type role C2 representational
class C2 a where
  meth2 :: a -> a