summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ghci/scripts/T4127a.script
blob: 3712c6a18422fef883aa2cddcf92eec4a04df95e (plain)
1
2
:set -XTemplateHaskell
Language.Haskell.TH.runQ $ [d| f = undefined; class Foo x where {  f :: x -> x }; instance Foo Int where { f = id } |]