summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T4127a.script
blob: 834e147698fe455ea8bb375ae32f2c490bfdff1f (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 } |]