1 2 3 4 5 6 7 8 9 10 11
{-# LANGUAGE TemplateHaskell #-} module T8577a where import Language.Haskell.TH data A a = A x :: Code Q (A a) x = [|| A ||] y :: Code Q (A Int) y = x