1 2 3 4 5 6 7 8
{-# LANGUAGE TemplateHaskell #-} module Main where class C t where meth :: t () $( const mempty (meth :: forall t. C t => t ()) )