summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T11793.hs
blob: f42a6230b3d88f2af54125f317b3de67bd01dd50 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE ImplicitParams #-}

module T11793 where

class C a where
  op :: (?x::Int) => a -> a

-- Should be OK even without ConstrainedClassMethods