ghc-exactprint-1.9.0.0: tests/examples/pre-ghc910/T22500.hs
-- Check that a quoted data type declaration is printed correctly
{-# LANGUAGE TemplateHaskellQuotes, TypeData #-}
module Main where
import Language.Haskell.TH
import Language.Haskell.TH.Ppr
main = putStrLn . pprint =<< runQ [d| type data Nat = Zero | Succ Nat |]