summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/th/TH_scopedTvs.hs
blob: 015911fde8ca098a6f808b093deb13268b6021f7 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE TemplateHaskell, ScopedTypeVariables #-}
module Foo where


$([d| f :: forall a. a->a
      f x = x::a 
    |])