1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE TemplateHaskell #-} module T9084 where $([d| class C a where meth :: a -> a meth = undefined -- give a (silly) default {-# MINIMAL meth #-} |])