Test case for TemplateHaskell recompilation avoidance