summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T8625.script
blob: 5b3c7b28c94a23bf5ef60892e187416cbe4f3eb1 (plain)
1
2
3
4
5
6
:set -XTemplateHaskell
:m + Language.Haskell.TH

class Member a 
runQ [d| instance ( y ~ (t->t) ) => Member Bool |]
runQ [d| f :: (y ~ (t->t)) => y -> t; f x = x |]