GHC bug - makeStatic: Unresolved static form at line 13, column 14.
Building and running the attached code results in the above crash error mesage. Enabling StaticPointers in the code makes the error go away.
GHC should either reject the code or generate code that works properly at run-time, depending on the fine points of how TH is supposed to interact with the enablement of StaticPointers.